Last active
December 29, 2015 15:39
-
-
Save coderofsalvation/7692392 to your computer and use it in GitHub Desktop.
bash colors snippet (Usage: printf "$C_GREEN this is green $C_NORMAL this is normal")
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
# bash colors snippet (Usage: printf "$C_GREEN this is green $C_NORMAL this is normal") | |
C_NORMAL="\\033[0;0m" | |
C_BOLD="\E[1;37;40m" | |
C_BRIGHT="\E[1;33;40m" | |
C_BLACK="\\033[0;30m" | |
C_RED="\\033[0;31m" | |
C_GREEN="\\033[0;32m" | |
C_BROWN="\\033[0;33m" | |
C_BLUE="\\033[0;34m" | |
C_PURPLE="\\033[0;35m" | |
C_CYAN="\\033[0;36m" | |
C_LIGHT_GREY="\\033[0;37m" | |
C_DARK_GREY="\\033[1;30m" | |
C_LIGHT_RED="\\033[1;31m" | |
C_LIGHT_GREEN="\\033[1;32m" | |
C_YELLOW="\\033[1;33m" | |
C_LIGHT_BLUE="\\033[1;34m" | |
C_LIGHT_PURPLE="\\033[1;35m" | |
C_LIGHT_CYAN="\\033[1;36m" | |
C_WHITE="\\033[1;37m" | |
C_DEFAULT="\\033[0m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment