-
Notifications
You must be signed in to change notification settings - Fork 0
/
color.h
42 lines (40 loc) · 1.47 KB
/
color.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//// Foreground Colours ////
#define FG_BLACK "\033[0;30m"
#define FG_BLUE "\033[0;34m"
#define FG_GREEN "\033[0;32m"
#define FG_CYAN "\033[0;36m"
#define FG_RED "\033[0;31m"
#define FG_PURPLE "\033[0;35m"
#define FG_YELLOW "\033[0;33m"
#define FG_LIGHT_GREY "\033[0;37m"
#define FG_DARK_GREY "\033[1;30m"
#define FG_LIGHT_BLUE "\033[1;34m"
#define FG_LIGHT_GREEN "\033[1;32m"
#define FG_LIGHT_CYAN "\033[1;36m"
#define FG_LIGHT_RED "\033[1;31m"
#define FG_LIGHT_PURPLE "\033[1;35m"
#define FG_LIGHT_YELLOW "\033[1;33m"
#define FG_WHITE "\033[1;37m"
//// Background Colours ////
#define BG_BLACK "\033[0;40m"
#define BG_BLUE "\033[0;44m"
#define BG_GREEN "\033[0;42m"
#define BG_CYAN "\033[0;46m"
#define BG_RED "\033[0;41m"
#define BG_PURPLE "\033[0;45m"
#define BG_YELLOW "\033[0;43m"
#define BG_LIGHT_GREY "\033[0;47m"
#define BG_DARK_GREY "\033[1;40m"
#define BG_LIGHT_BLUE "\033[1;44m"
#define BG_LIGHT_GREEN "\033[1;42m"
#define BG_LIGHT_CYAN "\033[1;46m"
#define BG_LIGHT_RED "\033[1;41m"
#define BG_LIGHT_PURPLE "\033[1;45m"
#define BG_LIGHT_YELLOW "\033[1;43m"
#define BG_WHITE "\033[1;47m"
//// Others ////
#define DEFAULT "\033[0m"
#define UNDERLINE "\033[4m"
#define BLINK "\033[5m"
#define INVERSE "\033[7m"
#define CONCEALED "\033[8m"