Skip to content

Instantly share code, notes, and snippets.

@eliranmal
Forked from twerth/colors
Last active December 17, 2019 16:31
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliranmal/684aef6c6567e8d48dec2e1dc6deb144 to your computer and use it in GitHub Desktop.
Save eliranmal/684aef6c6567e8d48dec2e1dc6deb144 to your computer and use it in GitHub Desktop.
List colors in shell
#!/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