-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolor.h
More file actions
77 lines (68 loc) · 2.07 KB
/
color.h
File metadata and controls
77 lines (68 loc) · 2.07 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#ifndef COLOR_H
#define COLOR_H
// Reset
#define RESET "\033[0m"
// Regular Colors
#define BLACK "\033[0;30m"
#define RED "\033[0;31m"
#define GREEN "\033[0;32m"
#define YELLOW "\033[0;33m"
#define BLUE "\033[0;34m"
#define MAGENTA "\033[0;35m"
#define CYAN "\033[0;36m"
#define WHITE "\033[0;37m"
// Bold
#define BOLD_BLACK "\033[1;30m"
#define BOLD_RED "\033[1;31m"
#define BOLD_GREEN "\033[1;32m"
#define BOLD_YELLOW "\033[1;33m"
#define BOLD_BLUE "\033[1;34m"
#define BOLD_MAGENTA "\033[1;35m"
#define BOLD_CYAN "\033[1;36m"
#define BOLD_WHITE "\033[1;37m"
// Underline
#define UNDERLINE_BLACK "\033[4;30m"
#define UNDERLINE_RED "\033[4;31m"
#define UNDERLINE_GREEN "\033[4;32m"
#define UNDERLINE_YELLOW "\033[4;33m"
#define UNDERLINE_BLUE "\033[4;34m"
#define UNDERLINE_MAGENTA "\033[4;35m"
#define UNDERLINE_CYAN "\033[4;36m"
#define UNDERLINE_WHITE "\033[4;37m"
// Background Colors
#define BG_BLACK "\033[40m"
#define BG_RED "\033[41m"
#define BG_GREEN "\033[42m"
#define BG_YELLOW "\033[43m"
#define BG_BLUE "\033[44m"
#define BG_MAGENTA "\033[45m"
#define BG_CYAN "\033[46m"
#define BG_WHITE "\033[47m"
// High Intensity
#define HI_BLACK "\033[0;90m"
#define HI_RED "\033[0;91m"
#define HI_GREEN "\033[0;92m"
#define HI_YELLOW "\033[0;93m"
#define HI_BLUE "\033[0;94m"
#define HI_MAGENTA "\033[0;95m"
#define HI_CYAN "\033[0;96m"
#define HI_WHITE "\033[0;97m"
// Bold High Intensity
#define BOLD_HI_BLACK "\033[1;90m"
#define BOLD_HI_RED "\033[1;91m"
#define BOLD_HI_GREEN "\033[1;92m"
#define BOLD_HI_YELLOW "\033[1;93m"
#define BOLD_HI_BLUE "\033[1;94m"
#define BOLD_HI_MAGENTA "\033[1;95m"
#define BOLD_HI_CYAN "\033[1;96m"
#define BOLD_HI_WHITE "\033[1;97m"
// High Intensity backgrounds
#define BG_HI_BLACK "\033[0;100m"
#define BG_HI_RED "\033[0;101m"
#define BG_HI_GREEN "\033[0;102m"
#define BG_HI_YELLOW "\033[0;103m"
#define BG_HI_BLUE "\033[0;104m"
#define BG_HI_MAGENTA "\033[0;105m"
#define BG_HI_CYAN "\033[0;106m"
#define BG_HI_WHITE "\033[0;107m"
#endif // COLOR_H