10 template<
class char_t>
11 std::basic_ostream<char_t>& operator<<(std::basic_ostream<char_t>& os,
const qx::terminal_color& terminalColor)
15 switch (terminalColor.m_eType)
17 case qx::terminal_color::type::font:
20 terminalColor.m_Color.
r_dec(),
21 terminalColor.m_Color.
g_dec(),
22 terminalColor.m_Color.
b_dec());
25 case qx::terminal_color::type::back:
28 terminalColor.m_Color.
r_dec(),
29 terminalColor.m_Color.
g_dec(),
30 terminalColor.m_Color.
b_dec());
33 case qx::terminal_color::type::reset:
60 constexpr terminal_color::terminal_color(
const color& inColor, type eType) noexcept : m_Color(inColor), m_eType(eType)
64 constexpr terminal_color::terminal_color(type eType) noexcept : m_eType(eType)
72 cout <<
font(color::alice_blue()) <<
"alice_blue" << endl;
73 cout <<
font(color::antique_white()) <<
"antique_white" << endl;
74 cout <<
font(color::aqua()) <<
"aqua" << endl;
75 cout <<
font(color::aquamarine()) <<
"aquamarine" << endl;
76 cout <<
font(color::azure()) <<
"azure" << endl;
77 cout <<
font(color::beige()) <<
"beige" << endl;
78 cout <<
font(color::bisque()) <<
"bisque" << endl;
79 cout <<
font(color::black()) <<
"black" << endl;
80 cout <<
font(color::blanched_almond()) <<
"blanched_almond" << endl;
81 cout <<
font(color::blue()) <<
"blue" << endl;
82 cout <<
font(color::blue_violet()) <<
"blue_violet" << endl;
83 cout <<
font(color::brown()) <<
"brown" << endl;
84 cout <<
font(color::burly_wood()) <<
"burly_wood" << endl;
85 cout <<
font(color::cadet_blue()) <<
"cadet_blue" << endl;
86 cout <<
font(color::chartreuse()) <<
"chartreuse" << endl;
87 cout <<
font(color::chocolate()) <<
"chocolate" << endl;
88 cout <<
font(color::coral()) <<
"coral" << endl;
89 cout <<
font(color::cornflower_blue()) <<
"cornflower_blue" << endl;
90 cout <<
font(color::cornsilk()) <<
"cornsilk" << endl;
91 cout <<
font(color::crimson()) <<
"crimson" << endl;
92 cout <<
font(color::cyan()) <<
"cyan" << endl;
93 cout <<
font(color::dark_blue()) <<
"dark_blue" << endl;
94 cout <<
font(color::dark_cyan()) <<
"dark_cyan" << endl;
95 cout <<
font(color::dark_goldenrod()) <<
"dark_goldenrod" << endl;
96 cout <<
font(color::dark_gray()) <<
"dark_gray" << endl;
97 cout <<
font(color::dark_green()) <<
"dark_green" << endl;
98 cout <<
font(color::dark_khaki()) <<
"dark_khaki" << endl;
99 cout <<
font(color::dark_magenta()) <<
"dark_magenta" << endl;
100 cout <<
font(color::dark_olive_green()) <<
"dark_olive_green" << endl;
101 cout <<
font(color::dark_orange()) <<
"dark_orange" << endl;
102 cout <<
font(color::dark_orchid()) <<
"dark_orchid" << endl;
103 cout <<
font(color::dark_red()) <<
"dark_red" << endl;
104 cout <<
font(color::dark_salmon()) <<
"dark_salmon" << endl;
105 cout <<
font(color::dark_sea_green()) <<
"dark_sea_green" << endl;
106 cout <<
font(color::dark_slate_blue()) <<
"dark_slate_blue" << endl;
107 cout <<
font(color::dark_slate_gray()) <<
"dark_slate_gray" << endl;
108 cout <<
font(color::dark_turquoise()) <<
"dark_turquoise" << endl;
109 cout <<
font(color::dark_violet()) <<
"dark_violet" << endl;
110 cout <<
font(color::deep_pink()) <<
"deep_pink" << endl;
111 cout <<
font(color::deep_sky_blue()) <<
"deep_sky_blue" << endl;
112 cout <<
font(color::dim_gray()) <<
"dim_gray" << endl;
113 cout <<
font(color::dodger_blue()) <<
"dodger_blue" << endl;
114 cout <<
font(color::fire_brick()) <<
"fire_brick" << endl;
115 cout <<
font(color::floral_white()) <<
"floral_white" << endl;
116 cout <<
font(color::forest_green()) <<
"forest_green" << endl;
117 cout <<
font(color::fuchsia()) <<
"fuchsia" << endl;
118 cout <<
font(color::gainsboro()) <<
"gainsboro" << endl;
119 cout <<
font(color::ghost_white()) <<
"ghost_white" << endl;
120 cout <<
font(color::gold()) <<
"gold" << endl;
121 cout <<
font(color::goldenrod()) <<
"goldenrod" << endl;
122 cout <<
font(color::gray()) <<
"gray" << endl;
123 cout <<
font(color::green()) <<
"green" << endl;
124 cout <<
font(color::green_yellow()) <<
"green_yellow" << endl;
125 cout <<
font(color::honeydew()) <<
"honeydew" << endl;
126 cout <<
font(color::hot_pink()) <<
"hot_pink" << endl;
127 cout <<
font(color::indian_red()) <<
"indian_red" << endl;
128 cout <<
font(color::indigo()) <<
"indigo" << endl;
129 cout <<
font(color::ivory()) <<
"ivory" << endl;
130 cout <<
font(color::khaki()) <<
"khaki" << endl;
131 cout <<
font(color::lavender()) <<
"lavender" << endl;
132 cout <<
font(color::lavender_blush()) <<
"lavender_blush" << endl;
133 cout <<
font(color::lawn_green()) <<
"lawn_green" << endl;
134 cout <<
font(color::lemon_chiffon()) <<
"lemon_chiffon" << endl;
135 cout <<
font(color::light_blue()) <<
"light_blue" << endl;
136 cout <<
font(color::light_coral()) <<
"light_coral" << endl;
137 cout <<
font(color::light_cyan()) <<
"light_cyan" << endl;
138 cout <<
font(color::light_goldenrod_yellow()) <<
"light_goldenrod_yellow" << endl;
139 cout <<
font(color::light_green()) <<
"light_green" << endl;
140 cout <<
font(color::light_grey()) <<
"light_grey" << endl;
141 cout <<
font(color::light_pink()) <<
"light_pink" << endl;
142 cout <<
font(color::light_salmon()) <<
"light_salmon" << endl;
143 cout <<
font(color::light_sea_green()) <<
"light_sea_green" << endl;
144 cout <<
font(color::light_sky_blue()) <<
"light_sky_blue" << endl;
145 cout <<
font(color::light_slate_gray()) <<
"light_slate_gray" << endl;
146 cout <<
font(color::light_steel_blue()) <<
"light_steel_blue" << endl;
147 cout <<
font(color::light_yellow()) <<
"light_yellow" << endl;
148 cout <<
font(color::lime()) <<
"lime" << endl;
149 cout <<
font(color::lime_green()) <<
"lime_green" << endl;
150 cout <<
font(color::linen()) <<
"linen" << endl;
151 cout <<
font(color::magenta()) <<
"magenta" << endl;
152 cout <<
font(color::maroon()) <<
"maroon" << endl;
153 cout <<
font(color::medium_aquamarine()) <<
"medium_aquamarine" << endl;
154 cout <<
font(color::medium_blue()) <<
"medium_blue" << endl;
155 cout <<
font(color::medium_orchid()) <<
"medium_orchid" << endl;
156 cout <<
font(color::medium_purple()) <<
"medium_purple" << endl;
157 cout <<
font(color::medium_sea_green()) <<
"medium_sea_green" << endl;
158 cout <<
font(color::medium_slate_blue()) <<
"medium_slate_blue" << endl;
159 cout <<
font(color::medium_spring_green()) <<
"medium_spring_green" << endl;
160 cout <<
font(color::medium_turquoise()) <<
"medium_turquoise" << endl;
161 cout <<
font(color::medium_violet_red()) <<
"medium_violet_red" << endl;
162 cout <<
font(color::midnight_blue()) <<
"midnight_blue" << endl;
163 cout <<
font(color::mint_cream()) <<
"mint_cream" << endl;
164 cout <<
font(color::misty_rose()) <<
"misty_rose" << endl;
165 cout <<
font(color::moccasin()) <<
"moccasin" << endl;
166 cout <<
font(color::navajo_white()) <<
"navajo_white" << endl;
167 cout <<
font(color::navy()) <<
"navy" << endl;
168 cout <<
font(color::old_lace()) <<
"old_lace" << endl;
169 cout <<
font(color::olive()) <<
"olive" << endl;
170 cout <<
font(color::olive_drab()) <<
"olive_drab" << endl;
171 cout <<
font(color::orange()) <<
"orange" << endl;
172 cout <<
font(color::orange_red()) <<
"orange_red" << endl;
173 cout <<
font(color::orchid()) <<
"orchid" << endl;
174 cout <<
font(color::pale_goldenrod()) <<
"pale_goldenrod" << endl;
175 cout <<
font(color::pale_green()) <<
"pale_green" << endl;
176 cout <<
font(color::pale_turquoise()) <<
"pale_turquoise" << endl;
177 cout <<
font(color::pale_violet_red()) <<
"pale_violet_red" << endl;
178 cout <<
font(color::papaya_whip()) <<
"papaya_whip" << endl;
179 cout <<
font(color::peach_puff()) <<
"peach_puff" << endl;
180 cout <<
font(color::peru()) <<
"peru" << endl;
181 cout <<
font(color::pink()) <<
"pink" << endl;
182 cout <<
font(color::plum()) <<
"plum" << endl;
183 cout <<
font(color::powder_blue()) <<
"powder_blue" << endl;
184 cout <<
font(color::purple()) <<
"purple" << endl;
185 cout <<
font(color::red()) <<
"red" << endl;
186 cout <<
font(color::rosy_brown()) <<
"rosy_brown" << endl;
187 cout <<
font(color::royal_blue()) <<
"royal_blue" << endl;
188 cout <<
font(color::saddle_brown()) <<
"saddle_brown" << endl;
189 cout <<
font(color::salmon()) <<
"salmon" << endl;
190 cout <<
font(color::sandy_brown()) <<
"sandy_brown" << endl;
191 cout <<
font(color::sea_green()) <<
"sea_green" << endl;
192 cout <<
font(color::seashell()) <<
"seashell" << endl;
193 cout <<
font(color::sienna()) <<
"sienna" << endl;
194 cout <<
font(color::silver()) <<
"silver" << endl;
195 cout <<
font(color::sky_blue()) <<
"sky_blue" << endl;
196 cout <<
font(color::slate_blue()) <<
"slate_blue" << endl;
197 cout <<
font(color::slate_gray()) <<
"slate_gray" << endl;
198 cout <<
font(color::snow()) <<
"snow" << endl;
199 cout <<
font(color::spring_green()) <<
"spring_green" << endl;
200 cout <<
font(color::steel_blue()) <<
"steel_blue" << endl;
201 cout <<
font(color::tan()) <<
"tan" << endl;
202 cout <<
font(color::teal()) <<
"teal" << endl;
203 cout <<
font(color::thistle()) <<
"thistle" << endl;
204 cout <<
font(color::tomato()) <<
"tomato" << endl;
205 cout <<
font(color::turquoise()) <<
"turquoise" << endl;
206 cout <<
font(color::violet()) <<
"violet" << endl;
207 cout <<
font(color::wheat()) <<
"wheat" << endl;
208 cout <<
font(color::white()) <<
"white" << endl;
209 cout <<
font(color::white_smoke()) <<
"white_smoke" << endl;
210 cout <<
font(color::yellow()) <<
"yellow" << endl;
211 cout <<
font(color::yellow_green()) <<
"yellow_green" << endl;
215 cout <<
font(color::black()) <<
back(color::alice_blue()) <<
"alice_blue" <<
reset() << endl;
216 cout <<
font(color::black()) <<
back(color::antique_white()) <<
"antique_white" <<
reset() << endl;
217 cout <<
font(color::black()) <<
back(color::aqua()) <<
"aqua" <<
reset() << endl;
218 cout <<
font(color::black()) <<
back(color::aquamarine()) <<
"aquamarine" <<
reset() << endl;
219 cout <<
font(color::black()) <<
back(color::azure()) <<
"azure" <<
reset() << endl;
220 cout <<
font(color::black()) <<
back(color::beige()) <<
"beige" <<
reset() << endl;
221 cout <<
font(color::black()) <<
back(color::bisque()) <<
"bisque" <<
reset() << endl;
222 cout <<
font(color::black()) <<
back(color::black()) <<
"black" <<
reset() << endl;
223 cout <<
font(color::black()) <<
back(color::blanched_almond()) <<
"blanched_almond" <<
reset() << endl;
224 cout <<
font(color::black()) <<
back(color::blue()) <<
"blue" <<
reset() << endl;
225 cout <<
font(color::black()) <<
back(color::blue_violet()) <<
"blue_violet" <<
reset() << endl;
226 cout <<
font(color::black()) <<
back(color::brown()) <<
"brown" <<
reset() << endl;
227 cout <<
font(color::black()) <<
back(color::burly_wood()) <<
"burly_wood" <<
reset() << endl;
228 cout <<
font(color::black()) <<
back(color::cadet_blue()) <<
"cadet_blue" <<
reset() << endl;
229 cout <<
font(color::black()) <<
back(color::chartreuse()) <<
"chartreuse" <<
reset() << endl;
230 cout <<
font(color::black()) <<
back(color::chocolate()) <<
"chocolate" <<
reset() << endl;
231 cout <<
font(color::black()) <<
back(color::coral()) <<
"coral" <<
reset() << endl;
232 cout <<
font(color::black()) <<
back(color::cornflower_blue()) <<
"cornflower_blue" <<
reset() << endl;
233 cout <<
font(color::black()) <<
back(color::cornsilk()) <<
"cornsilk" <<
reset() << endl;
234 cout <<
font(color::black()) <<
back(color::crimson()) <<
"crimson" <<
reset() << endl;
235 cout <<
font(color::black()) <<
back(color::cyan()) <<
"cyan" <<
reset() << endl;
236 cout <<
font(color::black()) <<
back(color::dark_blue()) <<
"dark_blue" <<
reset() << endl;
237 cout <<
font(color::black()) <<
back(color::dark_cyan()) <<
"dark_cyan" <<
reset() << endl;
238 cout <<
font(color::black()) <<
back(color::dark_goldenrod()) <<
"dark_goldenrod" <<
reset() << endl;
239 cout <<
font(color::black()) <<
back(color::dark_gray()) <<
"dark_gray" <<
reset() << endl;
240 cout <<
font(color::black()) <<
back(color::dark_green()) <<
"dark_green" <<
reset() << endl;
241 cout <<
font(color::black()) <<
back(color::dark_khaki()) <<
"dark_khaki" <<
reset() << endl;
242 cout <<
font(color::black()) <<
back(color::dark_magenta()) <<
"dark_magenta" <<
reset() << endl;
243 cout <<
font(color::black()) <<
back(color::dark_olive_green()) <<
"dark_olive_green" <<
reset() << endl;
244 cout <<
font(color::black()) <<
back(color::dark_orange()) <<
"dark_orange" <<
reset() << endl;
245 cout <<
font(color::black()) <<
back(color::dark_orchid()) <<
"dark_orchid" <<
reset() << endl;
246 cout <<
font(color::black()) <<
back(color::dark_red()) <<
"dark_red" <<
reset() << endl;
247 cout <<
font(color::black()) <<
back(color::dark_salmon()) <<
"dark_salmon" <<
reset() << endl;
248 cout <<
font(color::black()) <<
back(color::dark_sea_green()) <<
"dark_sea_green" <<
reset() << endl;
249 cout <<
font(color::black()) <<
back(color::dark_slate_blue()) <<
"dark_slate_blue" <<
reset() << endl;
250 cout <<
font(color::black()) <<
back(color::dark_slate_gray()) <<
"dark_slate_gray" <<
reset() << endl;
251 cout <<
font(color::black()) <<
back(color::dark_turquoise()) <<
"dark_turquoise" <<
reset() << endl;
252 cout <<
font(color::black()) <<
back(color::dark_violet()) <<
"dark_violet" <<
reset() << endl;
253 cout <<
font(color::black()) <<
back(color::deep_pink()) <<
"deep_pink" <<
reset() << endl;
254 cout <<
font(color::black()) <<
back(color::deep_sky_blue()) <<
"deep_sky_blue" <<
reset() << endl;
255 cout <<
font(color::black()) <<
back(color::dim_gray()) <<
"dim_gray" <<
reset() << endl;
256 cout <<
font(color::black()) <<
back(color::dodger_blue()) <<
"dodger_blue" <<
reset() << endl;
257 cout <<
font(color::black()) <<
back(color::fire_brick()) <<
"fire_brick" <<
reset() << endl;
258 cout <<
font(color::black()) <<
back(color::floral_white()) <<
"floral_white" <<
reset() << endl;
259 cout <<
font(color::black()) <<
back(color::forest_green()) <<
"forest_green" <<
reset() << endl;
260 cout <<
font(color::black()) <<
back(color::fuchsia()) <<
"fuchsia" <<
reset() << endl;
261 cout <<
font(color::black()) <<
back(color::gainsboro()) <<
"gainsboro" <<
reset() << endl;
262 cout <<
font(color::black()) <<
back(color::ghost_white()) <<
"ghost_white" <<
reset() << endl;
263 cout <<
font(color::black()) <<
back(color::gold()) <<
"gold" <<
reset() << endl;
264 cout <<
font(color::black()) <<
back(color::goldenrod()) <<
"goldenrod" <<
reset() << endl;
265 cout <<
font(color::black()) <<
back(color::gray()) <<
"gray" <<
reset() << endl;
266 cout <<
font(color::black()) <<
back(color::green()) <<
"green" <<
reset() << endl;
267 cout <<
font(color::black()) <<
back(color::green_yellow()) <<
"green_yellow" <<
reset() << endl;
268 cout <<
font(color::black()) <<
back(color::honeydew()) <<
"honeydew" <<
reset() << endl;
269 cout <<
font(color::black()) <<
back(color::hot_pink()) <<
"hot_pink" <<
reset() << endl;
270 cout <<
font(color::black()) <<
back(color::indian_red()) <<
"indian_red" <<
reset() << endl;
271 cout <<
font(color::black()) <<
back(color::indigo()) <<
"indigo" <<
reset() << endl;
272 cout <<
font(color::black()) <<
back(color::ivory()) <<
"ivory" <<
reset() << endl;
273 cout <<
font(color::black()) <<
back(color::khaki()) <<
"khaki" <<
reset() << endl;
274 cout <<
font(color::black()) <<
back(color::lavender()) <<
"lavender" <<
reset() << endl;
275 cout <<
font(color::black()) <<
back(color::lavender_blush()) <<
"lavender_blush" <<
reset() << endl;
276 cout <<
font(color::black()) <<
back(color::lawn_green()) <<
"lawn_green" <<
reset() << endl;
277 cout <<
font(color::black()) <<
back(color::lemon_chiffon()) <<
"lemon_chiffon" <<
reset() << endl;
278 cout <<
font(color::black()) <<
back(color::light_blue()) <<
"light_blue" <<
reset() << endl;
279 cout <<
font(color::black()) <<
back(color::light_coral()) <<
"light_coral" <<
reset() << endl;
280 cout <<
font(color::black()) <<
back(color::light_cyan()) <<
"light_cyan" <<
reset() << endl;
281 cout <<
font(color::black()) <<
back(color::light_goldenrod_yellow()) <<
"light_goldenrod_yellow" <<
reset()
283 cout <<
font(color::black()) <<
back(color::light_green()) <<
"light_green" <<
reset() << endl;
284 cout <<
font(color::black()) <<
back(color::light_grey()) <<
"light_grey" <<
reset() << endl;
285 cout <<
font(color::black()) <<
back(color::light_pink()) <<
"light_pink" <<
reset() << endl;
286 cout <<
font(color::black()) <<
back(color::light_salmon()) <<
"light_salmon" <<
reset() << endl;
287 cout <<
font(color::black()) <<
back(color::light_sea_green()) <<
"light_sea_green" <<
reset() << endl;
288 cout <<
font(color::black()) <<
back(color::light_sky_blue()) <<
"light_sky_blue" <<
reset() << endl;
289 cout <<
font(color::black()) <<
back(color::light_slate_gray()) <<
"light_slate_gray" <<
reset() << endl;
290 cout <<
font(color::black()) <<
back(color::light_steel_blue()) <<
"light_steel_blue" <<
reset() << endl;
291 cout <<
font(color::black()) <<
back(color::light_yellow()) <<
"light_yellow" <<
reset() << endl;
292 cout <<
font(color::black()) <<
back(color::lime()) <<
"lime" <<
reset() << endl;
293 cout <<
font(color::black()) <<
back(color::lime_green()) <<
"lime_green" <<
reset() << endl;
294 cout <<
font(color::black()) <<
back(color::linen()) <<
"linen" <<
reset() << endl;
295 cout <<
font(color::black()) <<
back(color::magenta()) <<
"magenta" <<
reset() << endl;
296 cout <<
font(color::black()) <<
back(color::maroon()) <<
"maroon" <<
reset() << endl;
297 cout <<
font(color::black()) <<
back(color::medium_aquamarine()) <<
"medium_aquamarine" <<
reset() << endl;
298 cout <<
font(color::black()) <<
back(color::medium_blue()) <<
"medium_blue" <<
reset() << endl;
299 cout <<
font(color::black()) <<
back(color::medium_orchid()) <<
"medium_orchid" <<
reset() << endl;
300 cout <<
font(color::black()) <<
back(color::medium_purple()) <<
"medium_purple" <<
reset() << endl;
301 cout <<
font(color::black()) <<
back(color::medium_sea_green()) <<
"medium_sea_green" <<
reset() << endl;
302 cout <<
font(color::black()) <<
back(color::medium_slate_blue()) <<
"medium_slate_blue" <<
reset() << endl;
303 cout <<
font(color::black()) <<
back(color::medium_spring_green()) <<
"medium_spring_green" <<
reset() << endl;
304 cout <<
font(color::black()) <<
back(color::medium_turquoise()) <<
"medium_turquoise" <<
reset() << endl;
305 cout <<
font(color::black()) <<
back(color::medium_violet_red()) <<
"medium_violet_red" <<
reset() << endl;
306 cout <<
font(color::black()) <<
back(color::midnight_blue()) <<
"midnight_blue" <<
reset() << endl;
307 cout <<
font(color::black()) <<
back(color::mint_cream()) <<
"mint_cream" <<
reset() << endl;
308 cout <<
font(color::black()) <<
back(color::misty_rose()) <<
"misty_rose" <<
reset() << endl;
309 cout <<
font(color::black()) <<
back(color::moccasin()) <<
"moccasin" <<
reset() << endl;
310 cout <<
font(color::black()) <<
back(color::navajo_white()) <<
"navajo_white" <<
reset() << endl;
311 cout <<
font(color::black()) <<
back(color::navy()) <<
"navy" <<
reset() << endl;
312 cout <<
font(color::black()) <<
back(color::old_lace()) <<
"old_lace" <<
reset() << endl;
313 cout <<
font(color::black()) <<
back(color::olive()) <<
"olive" <<
reset() << endl;
314 cout <<
font(color::black()) <<
back(color::olive_drab()) <<
"olive_drab" <<
reset() << endl;
315 cout <<
font(color::black()) <<
back(color::orange()) <<
"orange" <<
reset() << endl;
316 cout <<
font(color::black()) <<
back(color::orange_red()) <<
"orange_red" <<
reset() << endl;
317 cout <<
font(color::black()) <<
back(color::orchid()) <<
"orchid" <<
reset() << endl;
318 cout <<
font(color::black()) <<
back(color::pale_goldenrod()) <<
"pale_goldenrod" <<
reset() << endl;
319 cout <<
font(color::black()) <<
back(color::pale_green()) <<
"pale_green" <<
reset() << endl;
320 cout <<
font(color::black()) <<
back(color::pale_turquoise()) <<
"pale_turquoise" <<
reset() << endl;
321 cout <<
font(color::black()) <<
back(color::pale_violet_red()) <<
"pale_violet_red" <<
reset() << endl;
322 cout <<
font(color::black()) <<
back(color::papaya_whip()) <<
"papaya_whip" <<
reset() << endl;
323 cout <<
font(color::black()) <<
back(color::peach_puff()) <<
"peach_puff" <<
reset() << endl;
324 cout <<
font(color::black()) <<
back(color::peru()) <<
"peru" <<
reset() << endl;
325 cout <<
font(color::black()) <<
back(color::pink()) <<
"pink" <<
reset() << endl;
326 cout <<
font(color::black()) <<
back(color::plum()) <<
"plum" <<
reset() << endl;
327 cout <<
font(color::black()) <<
back(color::powder_blue()) <<
"powder_blue" <<
reset() << endl;
328 cout <<
font(color::black()) <<
back(color::purple()) <<
"purple" <<
reset() << endl;
329 cout <<
font(color::black()) <<
back(color::red()) <<
"red" <<
reset() << endl;
330 cout <<
font(color::black()) <<
back(color::rosy_brown()) <<
"rosy_brown" <<
reset() << endl;
331 cout <<
font(color::black()) <<
back(color::royal_blue()) <<
"royal_blue" <<
reset() << endl;
332 cout <<
font(color::black()) <<
back(color::saddle_brown()) <<
"saddle_brown" <<
reset() << endl;
333 cout <<
font(color::black()) <<
back(color::salmon()) <<
"salmon" <<
reset() << endl;
334 cout <<
font(color::black()) <<
back(color::sandy_brown()) <<
"sandy_brown" <<
reset() << endl;
335 cout <<
font(color::black()) <<
back(color::sea_green()) <<
"sea_green" <<
reset() << endl;
336 cout <<
font(color::black()) <<
back(color::seashell()) <<
"seashell" <<
reset() << endl;
337 cout <<
font(color::black()) <<
back(color::sienna()) <<
"sienna" <<
reset() << endl;
338 cout <<
font(color::black()) <<
back(color::silver()) <<
"silver" <<
reset() << endl;
339 cout <<
font(color::black()) <<
back(color::sky_blue()) <<
"sky_blue" <<
reset() << endl;
340 cout <<
font(color::black()) <<
back(color::slate_blue()) <<
"slate_blue" <<
reset() << endl;
341 cout <<
font(color::black()) <<
back(color::slate_gray()) <<
"slate_gray" <<
reset() << endl;
342 cout <<
font(color::black()) <<
back(color::snow()) <<
"snow" <<
reset() << endl;
343 cout <<
font(color::black()) <<
back(color::spring_green()) <<
"spring_green" <<
reset() << endl;
344 cout <<
font(color::black()) <<
back(color::steel_blue()) <<
"steel_blue" <<
reset() << endl;
345 cout <<
font(color::black()) <<
back(color::tan()) <<
"tan" <<
reset() << endl;
346 cout <<
font(color::black()) <<
back(color::teal()) <<
"teal" <<
reset() << endl;
347 cout <<
font(color::black()) <<
back(color::thistle()) <<
"thistle" <<
reset() << endl;
348 cout <<
font(color::black()) <<
back(color::tomato()) <<
"tomato" <<
reset() << endl;
349 cout <<
font(color::black()) <<
back(color::turquoise()) <<
"turquoise" <<
reset() << endl;
350 cout <<
font(color::black()) <<
back(color::violet()) <<
"violet" <<
reset() << endl;
351 cout <<
font(color::black()) <<
back(color::wheat()) <<
"wheat" <<
reset() << endl;
352 cout <<
font(color::black()) <<
back(color::white()) <<
"white" <<
reset() << endl;
353 cout <<
font(color::black()) <<
back(color::white_smoke()) <<
"white_smoke" <<
reset() << endl;
354 cout <<
font(color::black()) <<
back(color::yellow()) <<
"yellow" <<
reset() << endl;
355 cout <<
font(color::black()) <<
back(color::yellow_green()) <<
"yellow_green" <<
reset() << endl;
requires format_acceptable_args< char_t, args_t... > void format(format_string_type< args_t... > sFormat, const args_t &... args)
Clear the string and format it with the format string and the args.
constexpr int r_dec() const noexcept
Get red component as decimal.
constexpr int g_dec() const noexcept
Get green component as decimal.
constexpr int b_dec() const noexcept
Get blue component as decimal.
Class for colors manipulating in terminal.
static void test_colors()
Output colors available in qx::color to test if terminal color work.
static constexpr terminal_color reset() noexcept
Reset all colors.
static constexpr terminal_color font(const color &fontColor) noexcept
Set font color.
static constexpr terminal_color back(const color &bgColor) noexcept
Set background color.
#define QX_STR_PREFIX(value_t, str)
Chose witch of prefixes add to string : L or none.