Skip to content

Instantly share code, notes, and snippets.

@luizberti
Last active December 7, 2016 21:23
Show Gist options
  • Save luizberti/b2b3de34c6cc2123398241e5dcf6c31e to your computer and use it in GitHub Desktop.
Save luizberti/b2b3de34c6cc2123398241e5dcf6c31e to your computer and use it in GitHub Desktop.
🎨 Tests terminal color output
#!/usr/bin/env bash
echo -e "\033[0mNC (No color)"
echo -e "\033[1;37mWHITE\t\033[0;30mBLACK"
echo -e "\033[0;34mBLUE\t\033[1;34mLIGHT_BLUE"
echo -e "\033[0;32mGREEN\t\033[1;32mLIGHT_GREEN"
echo -e "\033[0;36mCYAN\t\033[1;36mLIGHT_CYAN"
echo -e "\033[0;31mRED\t\033[1;31mLIGHT_RED"
echo -e "\033[0;35mPURPLE\t\033[1;35mLIGHT_PURPLE"
echo -e "\033[0;33mYELLOW\t\033[1;33mLIGHT_YELLOW"
echo -e "\033[1;30mGRAY\t\033[0;37mLIGHT_GRAY"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment