Skip to content

Instantly share code, notes, and snippets.

@tarrsalah
Created May 5, 2013 14:13
Show Gist options
  • Save tarrsalah/5520934 to your computer and use it in GitHub Desktop.
Save tarrsalah/5520934 to your computer and use it in GitHub Desktop.
Print 256 colours.
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