Skip to content

Instantly share code, notes, and snippets.

@C3rb3rus-666
Forked from jonsuh/.bash_profile
Last active November 2, 2020 18:46
Show Gist options
  • Save C3rb3rus-666/492d45fb44e0944dd5835838ea26d2c3 to your computer and use it in GitHub Desktop.
Save C3rb3rus-666/492d45fb44e0944dd5835838ea26d2c3 to your computer and use it in GitHub Desktop.
Bash echo in color
# ----------------------------------
# Colors
# ----------------------------------
NOCOLOR='\033[0m'
RED='\033[0;31m'
GREEN='\033[0;32m'
ORANGE='\033[0;33m'
BLUE='\033[0;34m'
PURPLE='\033[0;35m'
CYAN='\033[0;36m'
LIGHTGRAY='\033[0;37m'
DARKGRAY='\033[1;30m'
LIGHTRED='\033[1;31m'
LIGHTGREEN='\033[1;32m'
YELLOW='\033[1;33m'
LIGHTBLUE='\033[1;34m'
LIGHTPURPLE='\033[1;35m'
LIGHTCYAN='\033[1;36m'
WHITE='\033[1;37m'
Red = '\033[91m'
Green = '\033[92m'
Yellow = '\033[93m'
Blue = '\033[94m'
Magenta = '\033[95m'
Cyan = '\033[96m'
White = '\033[97m'
Grey = '\033[90m'
Bold = '\033[1m'
Italic = '\033[3m'
Underline = '\033[4m'
End = '\033[0m'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment