Skip to content

Instantly share code, notes, and snippets.

@rowanmanning
Created November 29, 2012 09:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rowanmanning/4167899 to your computer and use it in GitHub Desktop.
Save rowanmanning/4167899 to your computer and use it in GitHub Desktop.
Output all 255 terminal colors (Works on a Mac anyway...)
for i in {0..255}; do echo "$i: $(tput setaf $i)reg $(tput bold)bld$(tput sgr0) $(tput sgr 0 1)$(tput setaf $i)und$(tput sgr0)"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment