TermOx
savanna.hpp
1 #ifndef TERMOX_PAINTER_PALETTE_SAVANNA_HPP
2 #define TERMOX_PAINTER_PALETTE_SAVANNA_HPP
3 #include <termox/painter/color.hpp>
4 
5 namespace ox::savanna {
6 
7 inline constexpr auto Black = Color::Background;
8 inline constexpr auto Rust = 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 Violet = Color{5};
13 inline constexpr auto Cyan = Color{6};
14 inline constexpr auto Silver = Color{7};
15 inline constexpr auto Gray = Color{8};
16 inline constexpr auto White = Color::Foreground;
17 
19 inline auto const palette = Palette{
20  /* clang-format off */
21  {Black, RGB{0x171c19}},
22  {Rust, RGB{0xb16139}},
23  {Green, RGB{0x489963}},
24  {Brown, RGB{0xa07e3b}},
25  {Blue, RGB{0x478c90}},
26  {Violet, RGB{0x55859b}},
27  {Cyan, RGB{0x1c9aa0}},
28  {Silver, RGB{0x78877d}},
29  {Gray, RGB{0x526057}},
30  {White, RGB{0xecf4ee}},
31  /* clang-format on */
32 };
33 
34 } // namespace ox::savanna
35 #endif // TERMOX_PAINTER_PALETTE_SAVANNA_HPP