Skip to content

Instantly share code, notes, and snippets.

@swarut
Created June 30, 2013 15:13
Show Gist options
  • Save swarut/5895522 to your computer and use it in GitHub Desktop.
Save swarut/5895522 to your computer and use it in GitHub Desktop.
List color with bash.
for i in {0..255} ; do
printf "\x1b[38;5;${i}mcolour${i}\n"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment