TermOx
nes.hpp
1 #ifndef TERMOX_PAINTER_PALETTE_NES_HPP
2 #define TERMOX_PAINTER_PALETTE_NES_HPP
3 #include <termox/painter/color.hpp>
4 
5 namespace ox::nes {
6 
7 inline constexpr auto Black = Color::Background;
8 inline constexpr auto Dodger_blue = Color{1};
9 inline constexpr auto Azure = Color{2};
10 inline constexpr auto Blue = Color{3};
11 inline constexpr auto Silver = Color{4};
12 inline constexpr auto Boulder = Color{5};
13 inline constexpr auto Anakiwa = Color{6};
14 inline constexpr auto Alabaster = Color{7};
15 inline constexpr auto Perfume = Color{8};
16 inline constexpr auto Cornflower_blue = Color{9};
17 inline constexpr auto Blue_ribbon = Color{10};
18 inline constexpr auto Dark_blue = Color{11};
19 inline constexpr auto Pink_illusion = Color{12};
20 inline constexpr auto Portage = Color{13};
21 inline constexpr auto Electric_violet = Color{14};
22 inline constexpr auto White = Color::Foreground;
23 inline constexpr auto Purple_heart = Color{16};
24 inline constexpr auto Classic_rose = Color{17};
25 inline constexpr auto Blush_pink = Color{18};
26 inline constexpr auto Purple_pizzazz = Color{19};
27 inline constexpr auto Flirt = Color{20};
28 inline constexpr auto Illusion = Color{21};
29 inline constexpr auto Brilliant_rose = Color{22};
30 inline constexpr auto Razzmatazz = Color{23};
31 inline constexpr auto Carmine = Color{24};
32 inline constexpr auto Pancho = Color{25};
33 inline constexpr auto Bittersweet = Color{26};
34 inline constexpr auto Scarlet = Color{27};
35 inline constexpr auto Bright_red = Color{28};
36 inline constexpr auto Cape_honey = Color{29};
37 inline constexpr auto Yellow_orange = Color{30};
38 inline constexpr auto Christine = Color{31};
39 inline constexpr auto Red_berry = Color{32};
40 inline constexpr auto Marigold_yellow = Color{33};
41 inline constexpr auto Selective_yellow = Color{34};
42 inline constexpr auto Pirate_gold = Color{35};
43 inline constexpr auto Saddle_brown = Color{36};
44 inline constexpr auto Mindaro = Color{37};
45 inline constexpr auto Lime = Color{38};
46 inline constexpr auto Green = Color{39};
47 inline constexpr auto Japanese_laurel = Color{40};
48 inline constexpr auto Gossip = Color{41};
49 inline constexpr auto Pastel_green = Color{42};
50 inline constexpr auto Japanese_laurel_2 = Color{43};
51 inline constexpr auto Camarone = Color{44};
52 inline constexpr auto Ice_cold = Color{45};
53 inline constexpr auto Screamin_green = Color{46};
54 inline constexpr auto Green_haze = Color{47};
55 inline constexpr auto Camarone_2 = Color{48};
56 inline constexpr auto Cyan = Color{49};
57 inline constexpr auto Bright_turquoise = Color{50};
58 inline constexpr auto Teal = Color{51};
59 inline constexpr auto Astronaut_blue = Color{52};
60 inline constexpr auto Carousel_pink = Color{53};
61 inline constexpr auto Boulder_2 = Color{54};
62 
64 
65 inline auto const palette = Palette{
66  /* clang-format off */
67  {Black, RGB{0x000000}},
68  {Alabaster, RGB{0xf8f8f8}},
69  {Silver, RGB{0xbcbcbc}},
70  {Boulder, RGB{0x7c7c7c}},
71  {Anakiwa, RGB{0xa4e4fc}},
72  {Dodger_blue, RGB{0x3cbcfc}},
73  {Azure, RGB{0x0078f8}},
74  {Blue, RGB{0x0000fc}},
75  {Perfume, RGB{0xb8b8f8}},
76  {Cornflower_blue, RGB{0x6888fc}},
77  {Blue_ribbon, RGB{0x0058f8}},
78  {Dark_blue, RGB{0x0000bc}},
79  {Pink_illusion, RGB{0xd8b8f8}},
80  {Portage, RGB{0x9878f8}},
81  {Electric_violet, RGB{0x6844fc}},
82  {White, RGB{0xfcfcfc}},
83  {Purple_heart, RGB{0x4428bc}},
84  {Classic_rose, RGB{0xf8b8f8}},
85  {Blush_pink, RGB{0xf878f8}},
86  {Purple_pizzazz, RGB{0xd800cc}},
87  {Flirt, RGB{0x940084}},
88  {Illusion, RGB{0xf8a4c0}},
89  {Brilliant_rose, RGB{0xf85898}},
90  {Razzmatazz, RGB{0xe40058}},
91  {Carmine, RGB{0xa80020}},
92  {Pancho, RGB{0xf0d0b0}},
93  {Bittersweet, RGB{0xf87858}},
94  {Scarlet, RGB{0xf83800}},
95  {Bright_red, RGB{0xa81000}},
96  {Cape_honey, RGB{0xfce0a8}},
97  {Yellow_orange, RGB{0xfca044}},
98  {Christine, RGB{0xe45c10}},
99  {Red_berry, RGB{0x881400}},
100  {Marigold_yellow, RGB{0xf8d878}},
101  {Selective_yellow, RGB{0xf8b800}},
102  {Pirate_gold, RGB{0xac7c00}},
103  {Saddle_brown, RGB{0x503000}},
104  {Mindaro, RGB{0xd8f878}},
105  {Lime, RGB{0xb8f818}},
106  {Green, RGB{0x00b800}},
107  {Japanese_laurel, RGB{0x007800}},
108  {Gossip, RGB{0xb8f8b8}},
109  {Pastel_green, RGB{0x58d854}},
110  {Japanese_laurel_2, RGB{0x00a800}},
111  {Camarone, RGB{0x006800}},
112  {Ice_cold, RGB{0xb8f8d8}},
113  {Screamin_green, RGB{0x58f898}},
114  {Green_haze, RGB{0x00a844}},
115  {Camarone_2, RGB{0x005800}},
116  {Cyan, RGB{0x00fcfc}},
117  {Bright_turquoise, RGB{0x00e8d8}},
118  {Teal, RGB{0x008888}},
119  {Astronaut_blue, RGB{0x004058}},
120  {Carousel_pink, RGB{0xf8d8f8}},
121  {Boulder_2, RGB{0x787878}},
122  /* clang-format on */
123 };
124 
125 } // namespace ox::nes
126 #endif // TERMOX_PAINTER_PALETTE_NES_HPP