Created
October 26, 2017 19:13
-
-
Save clementlecorre/b1cfba190020ab86e6cb28d59531402e to your computer and use it in GitHub Desktop.
bash Color constants
This file contains 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
# Color constants | |
COLOR_BLACK='\033[30m' | |
COLOR_BLACK_BOLD='\033[0;30;1m' | |
COLOR_RED='\033[31m' | |
COLOR_RED_BOLD='\033[0;31;1m' | |
COLOR_GREEN='\033[32m' | |
COLOR_GREEN_BOLD='\033[0;32;1m' | |
COLOR_YELLOW='\033[33m' | |
COLOR_YELLOW_BOLD='\033[0;33;1m' | |
COLOR_BLUE='\033[34m' | |
COLOR_BLUE_BOLD='\033[0;34;1m' | |
COLOR_MAGENTA='\033[35m' | |
COLOR_MAGENTA_BOLD='\033[0;35;1m' | |
COLOR_CYAN='\033[36m' | |
COLOR_CYAN_BOLD='\033[0;36;1m' | |
COLOR_WHITE='\033[37m' | |
COLOR_WHITE_BOLD='\033[0;37;1m' | |
COLOR_RESET='\033[0m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment