Skip to content

Instantly share code, notes, and snippets.

@gavincangan
Created March 15, 2019 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavincangan/691c99e7ab42d23a8cc09169d4e243d4 to your computer and use it in GitHub Desktop.
Save gavincangan/691c99e7ab42d23a8cc09169d4e243d4 to your computer and use it in GitHub Desktop.
Print tmux color palette
# How does the tmux color palette work?
# https://superuser.com/a/285400/916053
for i in {0..255}; do
printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\n"
done
# Then use colourxxx with tmux.
# Mind the 'u' in colour!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment