Skip to content

Instantly share code, notes, and snippets.

@mr-daydream
Created January 12, 2016 04:40
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 mr-daydream/6f86f5483eaea40a19be to your computer and use it in GitHub Desktop.
Save mr-daydream/6f86f5483eaea40a19be to your computer and use it in GitHub Desktop.
256 color code outputter (for tmux and whatnot)
#found here: http://superuser.com/questions/285381/how-does-the-tmux-color-palette-work
#Re-spelled "color" the 'Murican way
for i in {0..255} ; do
printf "\x1b[38;5;${i}mcolor${i}\n"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment