1 #ifndef TERMOX_PAINTER_PALETTE_AMSTRAD_CPC_HPP
2 #define TERMOX_PAINTER_PALETTE_AMSTRAD_CPC_HPP
3 #include <termox/painter/color.hpp>
5 namespace ox::amstrad_cpc {
7 inline constexpr
auto Black = Color::Background;
8 inline constexpr
auto Maroon = Color{1};
9 inline constexpr
auto Green = Color{2};
10 inline constexpr
auto Olive = Color{3};
11 inline constexpr
auto Navy = Color{4};
12 inline constexpr
auto Violet = Color{5};
13 inline constexpr
auto Blue = Color{6};
14 inline constexpr
auto Gray = Color{7};
15 inline constexpr
auto Malibu = Color{8};
16 inline constexpr
auto Red = Color{9};
17 inline constexpr
auto Spring_green = Color{10};
18 inline constexpr
auto Yellow = Color{11};
19 inline constexpr
auto Azure = Color{12};
20 inline constexpr
auto Orange = Color{13};
21 inline constexpr
auto Teal = Color{14};
22 inline constexpr
auto White = Color::Foreground;
23 inline constexpr
auto Light_red = Color{16};
24 inline constexpr
auto Light_yellow = Color{17};
25 inline constexpr
auto Lime = Color{18};
26 inline constexpr
auto Yellow_green = Color{19};
27 inline constexpr
auto Mint = Color{20};
28 inline constexpr
auto Cyan = Color{21};
29 inline constexpr
auto Anakiwa = Color{22};
30 inline constexpr
auto Pink = Color{23};
31 inline constexpr
auto Magenta = Color{24};
32 inline constexpr
auto Rose = Color{25};
33 inline constexpr
auto Eggplant = Color{26};
37 inline auto const palette = Palette{
39 {Black, RGB{0x040404}},
40 {Maroon, RGB{0x800000}},
41 {Green, RGB{0x008000}},
42 {Olive, RGB{0x808000}},
43 {Navy, RGB{0x00007f}},
44 {Violet, RGB{0x7f00ff}},
45 {Blue, RGB{0x0000ff}},
46 {Gray, RGB{0x808080}},
47 {Malibu, RGB{0x8080ff}},
49 {Spring_green, RGB{0x01ff80}},
50 {Yellow, RGB{0xffff00}},
51 {Azure, RGB{0x0080ff}},
52 {Orange, RGB{0xff7f00}},
53 {Teal, RGB{0x008080}},
54 {White, RGB{0xffffff}},
55 {Light_red, RGB{0xff8080}},
56 {Light_yellow, RGB{0xffff80}},
57 {Lime, RGB{0x01ff00}},
58 {Yellow_green, RGB{0x80ff00}},
59 {Mint, RGB{0x80ff80}},
60 {Cyan, RGB{0x01ffff}},
61 {Anakiwa, RGB{0x80ffff}},
62 {Pink, RGB{0xff80ff}},
63 {Magenta, RGB{0xff00ff}},
64 {Rose, RGB{0xff0080}},
65 {Eggplant, RGB{0x800080}},