Skip to content

Colors

enum color (17 variants) source
§ COLOR_RED
§ COLOR_GREEN
§ COLOR_YELLOW
§ COLOR_BLUE
§ COLOR_MAGENTA
§ COLOR_CYAN
§ COLOR_WHITE
§ COLOR_GRAY
§ COLOR_LIGHT_GRAY
§ COLOR_BG_BLACK
§ COLOR_BG_RED
§ COLOR_BG_GREEN
§ COLOR_BG_YELLOW
§ COLOR_BG_BLUE
§ COLOR_BG_MAGENTA
§ COLOR_BG_CYAN
§ COLOR_BG_WHITE
#define ANSI_RESET "\033[0m"
source
#define ANSI_BOLD "\033[1m"
source
#define ANSI_UNDERLINE "\033[4m"
source
#define ANSI_BLACK "\033[30m"
source
#define ANSI_RED "\033[31m"
source
#define ANSI_GREEN "\033[32m"
source
#define ANSI_YELLOW "\033[33m"
source
#define ANSI_BLUE "\033[34m"
source
#define ANSI_MAGENTA "\033[35m"
source
#define ANSI_CYAN "\033[36m"
source
#define ANSI_WHITE "\033[37m"
source
#define ANSI_GRAY "\033[90m"
source
#define ANSI_LIGHT_GRAY "\033[37m"
source
#define ANSI_BG_BLACK "\033[40m"
source
#define ANSI_BG_RED "\033[41m"
source
#define ANSI_BG_GREEN "\033[42m"
source
#define ANSI_BG_YELLOW "\033[43m"
source
#define ANSI_BG_BLUE "\033[44m"
source
#define ANSI_BG_MAGENTA "\033[45m"
source
#define ANSI_BG_CYAN "\033[46m"
source
#define ANSI_BG_WHITE "\033[47m"
source
#define ANSI_BRIGHT_BLACK "\033[90m"
source
#define ANSI_BRIGHT_RED "\033[91m"
source
#define ANSI_BRIGHT_GREEN "\033[92m"
source
#define ANSI_BRIGHT_YELLOW "\033[93m"
source
#define ANSI_BRIGHT_BLUE "\033[94m"
source
#define ANSI_BRIGHT_MAGENTA "\033[95m"
source
#define ANSI_BRIGHT_CYAN "\033[96m"
source
#define ANSI_BRIGHT_WHITE "\033[97m"
source