1 #ifndef TERMOX_PAINTER_PALETTE_CGA_HPP
2 #define TERMOX_PAINTER_PALETTE_CGA_HPP
3 #include <termox/painter/color.hpp>
7 inline constexpr
auto Black = Color::Background;
8 inline constexpr
auto Red = Color{1};
9 inline constexpr
auto Green = Color{2};
10 inline constexpr
auto Brown = Color{3};
11 inline constexpr
auto Blue = Color{4};
12 inline constexpr
auto Magenta = Color{5};
13 inline constexpr
auto Cyan = Color{6};
14 inline constexpr
auto Light_gray = Color{7};
15 inline constexpr
auto Gray = Color{8};
16 inline constexpr
auto Light_red = Color{9};
17 inline constexpr
auto Light_green = Color{10};
18 inline constexpr
auto Yellow = Color{11};
19 inline constexpr
auto Teal = Color{12};
20 inline constexpr
auto Pink = Color{13};
21 inline constexpr
auto Light_blue = Color{14};
22 inline constexpr
auto White = Color::Foreground;
26 inline auto const palette = Palette{
28 {Black, RGB{0x000000}},
30 {Green, RGB{0x00aa00}},
31 {Brown, RGB{0xaa5500}},
32 {Blue, RGB{0x0000aa}},
33 {Magenta, RGB{0xaa00aa}},
34 {Cyan, RGB{0x55ffff}},
35 {Light_gray, RGB{0xaaaaaa}},
36 {Gray, RGB{0x555555}},
37 {Light_red, RGB{0xff5555}},
38 {Light_green, RGB{0x55ff55}},
39 {Yellow, RGB{0xffff55}},
40 {Teal, RGB{0x00aaaa}},
41 {Pink, RGB{0xff55ff}},
42 {Light_blue, RGB{0x5555ff}},
43 {White, RGB{0xffffff}},