Skip to content

Instantly share code, notes, and snippets.

@jacoborus
Created May 16, 2015 19:04
Show Gist options
  • Save jacoborus/844062da0c1f6515dd13 to your computer and use it in GitHub Desktop.
Save jacoborus/844062da0c1f6515dd13 to your computer and use it in GitHub Desktop.
Show terminal colors
#!/usr/bin/env 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