Skip to content

Instantly share code, notes, and snippets.

@beatak
Created February 16, 2015 17:25
Show Gist options
  • Save beatak/b37c7af98cc624e457b5 to your computer and use it in GitHub Desktop.
Save beatak/b37c7af98cc624e457b5 to your computer and use it in GitHub Desktop.
#!/bin/sh
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