1 #ifndef TERMOX_PAINTER_PALETTE_WINDOWS_HPP
2 #define TERMOX_PAINTER_PALETTE_WINDOWS_HPP
3 #include <termox/painter/color.hpp>
5 namespace ox::windows {
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 Cyan = Color{6};
14 inline constexpr
auto Silver = Color{7};
15 inline constexpr
auto Gray = Color{8};
16 inline constexpr
auto Red = Color{9};
17 inline constexpr
auto Lime = Color{10};
18 inline constexpr
auto Yellow = Color{11};
19 inline constexpr
auto Blue = Color{12};
20 inline constexpr
auto Eggplant = Color{13};
21 inline constexpr
auto Teal = Color{14};
22 inline constexpr
auto White = Color::Foreground;
26 inline auto const palette = Palette{
28 {Black, RGB{0x000000}},
29 {Maroon, RGB{0x7e0000}},
30 {Green, RGB{0x047e00}},
31 {Olive, RGB{0x7e7e00}},
32 {Navy, RGB{0x00007e}},
33 {Violet, RGB{0xfe00ff}},
34 {Cyan, RGB{0x06ffff}},
35 {Silver, RGB{0xbebebe}},
36 {Gray, RGB{0x7e7e7e}},
38 {Lime, RGB{0x06ff04}},
39 {Yellow, RGB{0xffff04}},
40 {Blue, RGB{0x0000ff}},
41 {Eggplant, RGB{0x7e007e}},
42 {Teal, RGB{0x047e7e}},
43 {White, RGB{0xffffff}},