IRC_SERVER
By @hyunjunk (hyunjun2372@gmail.com)
Loading...
Searching...
No Matches
AnsiColorDefines.hpp
Go to the documentation of this file.
1// Reference : https://gist.github.com/RabaDabaDoba/145049536f815903c79944599c6f952a
2#pragma once
3
4// Reset
5#define ANSI_RESET "\033[0m"
6
7// Regular text
8#define ANSI_BLK "\033[30m"
9#define ANSI_RED "\033[31m"
10#define ANSI_GRN "\033[32m"
11#define ANSI_YLW "\033[33m"
12#define ANSI_BLU "\033[34m"
13#define ANSI_MAG "\033[35m"
14#define ANSI_CYN "\033[36m"
15#define ANSI_WHT "\033[37m"
16
17// Regular bold text
18#define ANSI_BBLK "\033[1;30m"
19#define ANSI_BRED "\033[1;31m"
20#define ANSI_BGRN "\033[1;32m"
21#define ANSI_BYLW "\033[1;33m"
22#define ANSI_BBLU "\033[1;34m"
23#define ANSI_BMAG "\033[1;35m"
24#define ANSI_BCYN "\033[1;36m"
25#define ANSI_BWHT "\033[1;37m"
26
27// Regular background
28#define ANSI_BGBLK "\033[40m"
29#define ANSI_BGRED "\033[41m"
30#define ANSI_BGGRN "\033[42m"
31#define ANSI_BGYLW "\033[43m"
32#define ANSI_BGBLU "\033[44m"
33#define ANSI_BGMAG "\033[45m"
34#define ANSI_BGCYN "\033[46m"
35#define ANSI_BGWHT "\033[47m"
36