Skip to content

Instantly share code, notes, and snippets.

@costis
Created March 3, 2012 12:14
Show Gist options
  • Save costis/1965838 to your computer and use it in GitHub Desktop.
Save costis/1965838 to your computer and use it in GitHub Desktop.
Print ANSI color table in a console
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