Skip to content

Instantly share code, notes, and snippets.

@brandon-wallace
Last active April 1, 2023 13:54
Show Gist options
  • Save brandon-wallace/8cd05e1f96864d4fd2cbc95d3be00b94 to your computer and use it in GitHub Desktop.
Save brandon-wallace/8cd05e1f96864d4fd2cbc95d3be00b94 to your computer and use it in GitHub Desktop.
Display Terminal Colors Available For Tmux Configuration
#!/bin/bash
for num in {0..255}; do
printf "%s\033[38;5;${num}mcolour${num}\033[0m \t";
if [ $(expr $((num+1)) % 8) -eq 0 ]; then
printf "\n"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment