21 #ifndef DATATOOLS_UI_ANSI_COLORS_H 22 #define DATATOOLS_UI_ANSI_COLORS_H 32 namespace ansi_colors {
43 static const unsigned int BLACK = 0;
52 static const unsigned int RED = 9;
53 static const unsigned int GREEN = 10;
54 static const unsigned int YELLOW = 11;
55 static const unsigned int BLUE = 12;
57 static const unsigned int CYAN = 14;
58 static const unsigned int WHITE = 15;
59 static const unsigned int GRAY00 = 232;
60 static const unsigned int GRAY01 = 233;
61 static const unsigned int GRAY02 = 234;
62 static const unsigned int GRAY03 = 235;
63 static const unsigned int GRAY04 = 236;
64 static const unsigned int GRAY05 = 237;
65 static const unsigned int GRAY06 = 238;
66 static const unsigned int GRAY07 = 239;
67 static const unsigned int GRAY08 = 240;
68 static const unsigned int GRAY09 = 241;
69 static const unsigned int GRAY10 = 242;
70 static const unsigned int GRAY11 = 243;
71 static const unsigned int GRAY12 = 244;
72 static const unsigned int GRAY13 = 245;
73 static const unsigned int GRAY14 = 246;
74 static const unsigned int GRAY15 = 247;
75 static const unsigned int GRAY16 = 248;
76 static const unsigned int GRAY17 = 249;
77 static const unsigned int GRAY18 = 250;
78 static const unsigned int GRAY19 = 251;
79 static const unsigned int GRAY20 = 252;
80 static const unsigned int GRAY21 = 253;
81 static const unsigned int GRAY22 = 254;
82 static const unsigned int GRAY23 = 255;
91 const unsigned int n_,
92 const unsigned int r_ = 0,
93 const unsigned int g_ = 0,
94 const unsigned int b_ = 0);
98 color_8bits(
const unsigned int r_,
const unsigned int g_,
const unsigned int b_);
454 #endif // DATATOOLS_UI_UTILS_H