TermOx
macintosh_ii.hpp
1 #ifndef TERMOX_PAINTER_PALETTE_MACINTOSH_II_HPP
2 #define TERMOX_PAINTER_PALETTE_MACINTOSH_II_HPP
3 #include <termox/painter/color.hpp>
4 
5 namespace ox::macintosh_ii {
6 
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 Indigo = Color{4};
12 inline constexpr auto Magenta = Color{5};
13 inline constexpr auto Light_blue = Color{6};
14 inline constexpr auto Silver = Color{7};
15 inline constexpr auto Dark_gray = Color{8};
16 inline constexpr auto Light_brown = Color{9};
17 inline constexpr auto Light_green = Color{10};
18 inline constexpr auto Yellow = Color{11};
19 inline constexpr auto Blue = Color{12};
20 inline constexpr auto Orange = Color{13};
21 inline constexpr auto Gray = 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  {Red, RGB{0xdc0000}},
30  {Green, RGB{0x006500}},
31  {Brown, RGB{0x653600}},
32  {Indigo, RGB{0x360097}},
33  {Magenta, RGB{0xff0097}},
34  {Light_blue, RGB{0x0097ff}},
35  {Silver, RGB{0xb9b9b9}},
36  {Dark_gray, RGB{0x454545}},
37  {Light_brown, RGB{0x976536}},
38  {Light_green, RGB{0x00a800}},
39  {Yellow, RGB{0xffff00}},
40  {Blue, RGB{0x0000ca}},
41  {Orange, RGB{0xff6500}},
42  {Gray, RGB{0x868686}},
43  {White, RGB{0xffffff}},
44  /* clang-format on */
45 };
46 
47 } // namespace ox::macintosh_ii
48 #endif // TERMOX_PAINTER_PALETTE_MACINTOSH_II_HPP