TermOx
thomson_m05.hpp
1 #ifndef TERMOX_PAINTER_PALETTE_THOMSON_M05_HPP
2 #define TERMOX_PAINTER_PALETTE_THOMSON_M05_HPP
3 #include <termox/painter/color.hpp>
4 
5 namespace ox::thomson_m05 {
6 
7 inline constexpr auto Black = Color::Background;
8 inline constexpr auto Light_red = Color{1};
9 inline constexpr auto Mint = Color{2};
10 inline constexpr auto Brown = Color{3};
11 inline constexpr auto Light_blue = Color{4};
12 inline constexpr auto Violet = Color{5};
13 inline constexpr auto Light_cyan = Color{6};
14 inline constexpr auto Silver = Color{7};
15 inline constexpr auto Orange = Color{8};
16 inline constexpr auto Red = Color{9};
17 inline constexpr auto Lime = Color{10};
18 inline constexpr auto Yellow = Color{11};
19 inline constexpr auto Blue = Color{12};
20 inline constexpr auto Magenta = Color{13};
21 inline constexpr auto Cyan = Color{14};
22 inline constexpr auto White = Color::Foreground;
23 
25 
26 inline auto const palette = Palette{
27  /* clang-format off */
28  {Black, RGB{0x000000}},
29  {Light_red, RGB{0xdd7777}},
30  {Mint, RGB{0x77dd77}},
31  {Brown, RGB{0xdddd77}},
32  {Light_blue, RGB{0x7777dd}},
33  {Violet, RGB{0xdd77ee}},
34  {Light_cyan, RGB{0xbbffff}},
35  {Silver, RGB{0xbbbbbb}},
36  {Orange, RGB{0xeebb00}},
37  {Red, RGB{0xff0000}},
38  {Lime, RGB{0x00ff00}},
39  {Yellow, RGB{0xffff00}},
40  {Blue, RGB{0x0000ff}},
41  {Magenta, RGB{0xff00ff}},
42  {Cyan, RGB{0x00ffff}},
43  {White, RGB{0xffffff}},
44  /* clang-format on */
45 };
46 
47 } // namespace ox::thomson_m05
48 #endif // TERMOX_PAINTER_PALETTE_THOMSON_M05_HPP