TermOx
apple_ii.hpp
1 #ifndef TERMOX_PAINTER_PALETTE_APPLE_II_HPP
2 #define TERMOX_PAINTER_PALETTE_APPLE_II_HPP
3 #include <termox/painter/color.hpp>
4 
5 namespace ox::apple_ii {
6 
7 inline constexpr auto Black = Color::Background;
8 inline constexpr auto Dark_pink = Color{1};
9 inline constexpr auto Green = Color{2};
10 inline constexpr auto Olive = Color{3};
11 inline constexpr auto Blue = Color{4};
12 inline constexpr auto Violet = Color{5};
13 inline constexpr auto Aqua = Color{6};
14 inline constexpr auto Lavendar = Color{7};
15 inline constexpr auto Gray = Color{8};
16 inline constexpr auto Pink = Color{9};
17 inline constexpr auto Lime = Color{10};
18 inline constexpr auto Yellow_green = Color{11};
19 inline constexpr auto Magenta = Color{12};
20 inline constexpr auto Orange = Color{13};
21 inline constexpr auto White = Color::Foreground;
22 
24 
25 inline auto const palette = Palette{
26  /* clang-format off */
27  {Black, RGB{0x000000}},
28  {Dark_pink, RGB{0x843d52}},
29  {Green, RGB{0x006752}},
30  {Olive, RGB{0x515c16}},
31  {Blue, RGB{0x00a6f0}},
32  {Violet, RGB{0x514888}},
33  {Aqua, RGB{0x98dbc9}},
34  {Lavendar, RGB{0xc8c1f7}},
35  {Gray, RGB{0x919191}},
36  {Pink, RGB{0xf5b7c9}},
37  {Lime, RGB{0x00c82c}},
38  {Yellow_green, RGB{0xc9d199}},
39  {Magenta, RGB{0xe85def}},
40  {Orange, RGB{0xea7d27}},
41  {White, RGB{0xffffff}},
42  /* clang-format on */
43 };
44 
45 } // namespace ox::apple_ii
46 #endif // TERMOX_PAINTER_PALETTE_APPLE_II_HPP