Skip to content

Instantly share code, notes, and snippets.

@GeneralD
Created December 16, 2017 03:14
Show Gist options
  • Save GeneralD/4ea5150a47903efc93e6ea04d2996acc to your computer and use it in GitHub Desktop.
Save GeneralD/4ea5150a47903efc93e6ea04d2996acc to your computer and use it in GitHub Desktop.
# usage sample: echo Let\'s ${RED}color${CLEAR} text!
CLEAR='\033[0m'
BLACK='\033[0;30m'
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
BLUE='\033[0;34m'
MAGENTA='\033[0;35m'
CYAN='\033[0;36m'
WHITE='\033[0;37m'
BRIGHT_BLACK='\033[1;30m'
BRIGHT_RED='\033[1;31m'
BRIGHT_GREEN='\033[1;32m'
BRIGHT_YELLOW='\033[1;33m'
BRIGHT_BLUE='\033[1;34m'
BRIGHT_MAGENTA='\033[1;35m'
BRIGHT_CYAN='\033[1;36m'
BRIGHT_WHITE='\033[1;37m'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment