MentOS  0.8.0
The Mentoring Operating System
ansi_colors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #define FG_RESET "\033[0m"
9 
10 #define FG_BLACK "\033[30m"
11 #define FG_RED "\033[31m"
12 #define FG_GREEN "\033[32m"
13 #define FG_YELLOW "\033[33m"
14 #define FG_BLUE "\033[34m"
15 #define FG_MAGENTA "\033[35m"
16 #define FG_CYAN "\033[36m"
17 #define FG_WHITE "\033[37m"
18 
19 #define FG_BLACK_BOLD "\033[1;30m"
20 #define FG_RED_BOLD "\033[1;31m"
21 #define FG_GREEN_BOLD "\033[1;32m"
22 #define FG_YELLOW_BOLD "\033[1;33m"
23 #define FG_BLUE_BOLD "\033[1;34m"
24 #define FG_MAGENTA_BOLD "\033[1;35m"
25 #define FG_CYAN_BOLD "\033[1;36m"
26 #define FG_WHITE_BOLD "\033[1;37m"
27 
28 #define FG_BLACK_BRIGHT "\033[90m"
29 #define FG_RED_BRIGHT "\033[91m"
30 #define FG_GREEN_BRIGHT "\033[92m"
31 #define FG_YELLOW_BRIGHT "\033[93m"
32 #define FG_BLUE_BRIGHT "\033[94m"
33 #define FG_MAGENTA_BRIGHT "\033[95m"
34 #define FG_CYAN_BRIGHT "\033[96m"
35 #define FG_WHITE_BRIGHT "\033[97m"
36 
37 #define FG_BLACK_BRIGHT_BOLD "\033[1;90m"
38 #define FG_RED_BRIGHT_BOLD "\033[1;91m"
39 #define FG_GREEN_BRIGHT_BOLD "\033[1;92m"
40 #define FG_YELLOW_BRIGHT_BOLD "\033[1;93m"
41 #define FG_BLUE_BRIGHT_BOLD "\033[1;94m"
42 #define FG_MAGENTA_BRIGHT_BOLD "\033[1;95m"
43 #define FG_CYAN_BRIGHT_BOLD "\033[1;96m"
44 #define FG_WHITE_BRIGHT_BOLD "\033[1;97m"
45 
46 #define BG_BLACK "\033[40m"
47 #define BG_RED "\033[41m"
48 #define BG_GREEN "\033[42m"
49 #define BG_YELLOW "\033[43m"
50 #define BG_BLUE "\033[44m"
51 #define BG_MAGENTA "\033[45m"
52 #define BG_CYAN "\033[46m"
53 #define BG_WHITE "\033[47m"
54 
55 #define BG_BRIGHT_BLACK "\033[100m"
56 #define BG_BRIGHT_RED "\033[101m"
57 #define BG_BRIGHT_GREEN "\033[102m"
58 #define BG_BRIGHT_YELLOW "\033[103m"
59 #define BG_BRIGHT_BLUE "\033[104m"
60 #define BG_BRIGHT_MAGENTA "\033[105m"
61 #define BG_BRIGHT_CYAN "\033[106m"
62 #define BG_BRIGHT_WHITE "\033[107m"