1 #ifndef TERMOX_PAINTER_PALETTE_COMMODORE_VIC20_HPP
2 #define TERMOX_PAINTER_PALETTE_COMMODORE_VIC20_HPP
3 #include <termox/painter/color.hpp>
5 namespace ox::commodore_vic20 {
7 inline constexpr
auto Black = Color::Background;
8 inline constexpr
auto Dark_red = 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 Brown = Color{6};
14 inline constexpr
auto Cyan = Color{7};
15 inline constexpr
auto Red = Color{8};
16 inline constexpr
auto Light_green = Color{9};
17 inline constexpr
auto Yellow = Color{10};
18 inline constexpr
auto Light_blue = Color{11};
19 inline constexpr
auto Light_violet = Color{12};
20 inline constexpr
auto Sand = Color{13};
21 inline constexpr
auto Light_cyan = Color{14};
22 inline constexpr
auto White = Color::Foreground;
26 inline auto const palette = Palette{
28 {Black, RGB{0x000000}},
29 {Dark_red, RGB{0x772d26}},
30 {Green, RGB{0x559e4a}},
31 {Olive, RGB{0xbdcc71}},
32 {Blue, RGB{0x42348b}},
33 {Violet, RGB{0xa85fb4}},
34 {Brown, RGB{0xa8734a}},
35 {Cyan, RGB{0x85d4dc}},
37 {Light_green, RGB{0x92df87}},
38 {Yellow, RGB{0xffffb0}},
39 {Light_blue, RGB{0x7e70ca}},
40 {Light_violet, RGB{0xe99df5}},
41 {Sand, RGB{0xe9b287}},
42 {Light_cyan, RGB{0xc5ffff}},
43 {White, RGB{0xffffff}},