-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolors.h
100 lines (88 loc) · 3.34 KB
/
colors.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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* colors.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tnoulens <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/14 14:19:41 by kmendes- #+# #+# */
/* Updated: 2022/11/14 11:33:24 by tnoulens ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef __COLORS__H__
# define __COLORS__H__
// Definitions of some printf 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 PURPLE "\033[0;35m"
# define CYAN "\033[0;36m"
# define WHITE "\033[0;37m"
# define RESET "\x1B[0m"
# define BOLD_BLACK "\033[30;1m"
# define BOLD_RED "\033[31;1m"
# define BOLD_GREEN "\033[32;1m"
# define BOLD_YELLOW "\033[33;1m"
# define BOLD_BLUE "\033[34;1m"
# define BOLD_PURPLE "\033[35;1m"
# define BOLD_CYAN "\033[36;1m"
# define BOLD_WHITE "\033[37;1m"
# define DARK_BLACK "\033[30;2m"
# define ITALIC_BLACK "\033[30;3m"
# define UNDERLINE_BLACK "\033[30;4m"
# define BLINK_BLACK "\033[30;5m"
# define O_BLINK_BLACK "\033[30;6m"
# define NEG_BLACK "\033[30;7m"
# define INV_BLACK "\033[30;8m"
# define DARK_RED "\033[31;2m"
# define ITALIC_RED "\033[31;3m"
# define UNDERLINE_RED "\033[31;4m"
# define BLINK_RED "\033[31;5m"
# define O_BLINK_RED "\033[31;6m"
# define NEG_RED "\033[31;7m"
# define INV_RED "\033[31;8m"
# define DARK_GREEN "\033[32;2m"
# define ITALIC_GREEN "\033[32;3m"
# define UNDERLINE_GREEN "\033[32;4m"
# define BLINK_GREEN "\033[32;5m"
# define O_BLINK_GREEN "\033[32;6m"
# define NEG_GREEN "\033[32;7m"
# define INV_GREEN "\033[32;8m"
# define DARK_YELLOW "\033[33;2m"
# define ITALIC_YELLOW "\033[33;3m"
# define UNDERLINE_YELLOW "\033[33;4m"
# define BLINK_YELLOW "\033[33;5m"
# define O_BLINK_YELLOW "\033[33;6m"
# define NEG_YELLOW "\033[33;7m"
# define INV_YELLOW "\033[33;8m"
# define DARK_BLUE "\033[34;2m"
# define ITALIC_BLUE "\033[34;3m"
# define UNDERLINE_BLUE "\033[34;4m"
# define BLINK_BLUE "\033[34;5m"
# define O_BLINK_BLUE "\033[34;6m"
# define NEG_BLUE "\033[34;7m"
# define INV_BLUE "\033[34;8m"
# define DARK_PURPLE "\033[35;2m"
# define ITALIC_PURPLE "\033[35;3m"
# define UNDERLINE_PURPLE "\033[35;4m"
# define BLINK_PURPLE "\033[35;5m"
# define O_BLINK_PURPLE "\033[35;6m"
# define NEG_PURPLE "\033[35;7m"
# define INV_PURPLE "\033[35;8m"
# define DARK_CYAN "\033[36;2m"
# define ITALIC_CYAN "\033[36;3m"
# define UNDERLINE_CYAN "\033[36;4m"
# define BLINK_CYAN "\033[36;5m"
# define O_BLINK_CYAN "\033[36;6m"
# define NEG_CYAN "\033[36;7m"
# define INV_CYAN "\033[36;8m"
# define DARK_WHITE "\033[37;2m"
# define ITALIC_WHITE "\033[37;3m"
# define UNDERLINE_WHITE "\033[37;4m"
# define BLINK_WHITE "\033[37;5m"
# define O_BLINK_WHITE "\033[37;6m"
# define NEG_WHITE "\033[37;7m"
# define INV_WHITE "\033[37;8m"
#endif //COLORS_H