// // Created by william on 8/6/24. // #ifndef NES_EMULATOR_COLORS_H #define NES_EMULATOR_COLORS_H // Generated from http://drag.wootest.net/misc/palgen.html #define COLOR_00 0x555555 #define COLOR_01 0x001773 #define COLOR_02 0x000786 #define COLOR_03 0x2e0578 #define COLOR_04 0x59024d #define COLOR_05 0x720011 #define COLOR_06 0x6e0000 #define COLOR_07 0x4c0800 #define COLOR_08 0x171b00 #define COLOR_09 0x002a00 #define COLOR_0A 0x003100 #define COLOR_0B 0x002e00 #define COLOR_0C 0x002645 #define COLOR_0D 0x000000 #define COLOR_0E 0x000000 #define COLOR_0F 0x000000 #define COLOR_10 0xa5a5a5 #define COLOR_11 0x0057c6 #define COLOR_12 0x223fe5 #define COLOR_13 0x6e28d9 #define COLOR_14 0xae1aa6 #define COLOR_15 0xd21759 #define COLOR_16 0xd12107 #define COLOR_17 0xa73700 #define COLOR_18 0x635100 #define COLOR_19 0x186700 #define COLOR_1A 0x007200 #define COLOR_1B 0x007331 #define COLOR_1C 0x006a84 #define COLOR_1D 0x000000 #define COLOR_1E 0x000000 #define COLOR_1F 0x000000 #define COLOR_20 0xfefeff #define COLOR_21 0x2aa3ff #define COLOR_22 0x587cff #define COLOR_23 0x976bff #define COLOR_24 0xf36eff #define COLOR_25 0xff5ea4 #define COLOR_26 0xff635a #define COLOR_27 0xfe8122 #define COLOR_28 0xcda000 #define COLOR_29 0x81b802 #define COLOR_2A 0x3dc830 #define COLOR_2B 0x12cd7b #define COLOR_2C 0x0dc5d0 #define COLOR_2D 0x3c3c3c #define COLOR_2E 0x000000 #define COLOR_2F 0x000000 #define COLOR_30 0xfefeff #define COLOR_31 0xa2dcff #define COLOR_32 0xadc4ff #define COLOR_33 0xc9baff #define COLOR_34 0xf1bfff #define COLOR_35 0xffb8dd #define COLOR_36 0xffb7b9 #define COLOR_37 0xffc5a3 #define COLOR_38 0xffd696 #define COLOR_39 0xd0e095 #define COLOR_3A 0xb3e7a5 #define COLOR_3B 0x9feac3 #define COLOR_3C 0x9ae8e6 #define COLOR_3D 0xafafaf #define COLOR_3E 0x000000 #define COLOR_3F 0x000000 #define COLOR_LIST_(row) \ COLOR_ ## row ## 0, \ COLOR_ ## row ## 1, \ COLOR_ ## row ## 2, \ COLOR_ ## row ## 3, \ COLOR_ ## row ## 4, \ COLOR_ ## row ## 5, \ COLOR_ ## row ## 6, \ COLOR_ ## row ## 7, \ COLOR_ ## row ## 8, \ COLOR_ ## row ## 9, \ COLOR_ ## row ## A, \ COLOR_ ## row ## B, \ COLOR_ ## row ## C, \ COLOR_ ## row ## D, \ COLOR_ ## row ## E, \ COLOR_ ## row ## F #define COLOR_LIST {\ COLOR_LIST_(0), \ COLOR_LIST_(1), \ COLOR_LIST_(2), \ COLOR_LIST_(3) \ } typedef pixel color_list[0x40]; #endif //NES_EMULATOR_COLORS_H