TermOx
secam.hpp
1 #ifndef TERMOX_PAINTER_PALETTE_SECAM_HPP
2 #define TERMOX_PAINTER_PALETTE_SECAM_HPP
3 #include <termox/painter/color.hpp>
4 
5 namespace ox::secam {
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 Yellow = Color{3};
11 inline constexpr auto Blue = Color{4};
12 inline constexpr auto Violet = Color{5};
13 inline constexpr auto Cyan = Color{6};
14 inline constexpr auto White = Color::Foreground;
15 
17 
18 inline auto const palette = Palette{
19  /* clang-format off */
20  {Black, RGB{0x000000}},
21  {Red, RGB{0xf03c79}},
22  {Green, RGB{0x7fff00}},
23  {Yellow, RGB{0xffff3f}},
24  {Blue, RGB{0x2121ff}},
25  {Violet, RGB{0xff50ff}},
26  {Cyan, RGB{0x7fffff}},
27  {White, RGB{0xffffff}},
28  /* clang-format on */
29 };
30 
31 } // namespace ox::secam
32 #endif // TERMOX_PAINTER_PALETTE_SECAM_HPP