Created
July 29, 2013 04:17
-
-
Save CatTail/6102118 to your computer and use it in GitHub Desktop.
Show numerical values for each of the 256 colors in bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # from http://www.commandlinefu.com/commands/view/5879/show-numerical-values-for-each-of-the-256-colors-in-bash#comment | |
| for code in {0..255}; do echo -e "\e[38;05;${code}m $code: Test"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment