§ Демонстрация
Палитра для Денди состоит 64 цветов
§ Таблица цветов
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
0 |
7B7B7B |
0000FF |
0000BD |
4229BD |
940084 |
AD0021 |
8C1000 |
8C1000 |
522900 |
007300 |
006B00 |
005A00 |
004252 |
000000 |
000000 |
000000 |
1 |
BDBDBD |
0073F7 |
0052F7 |
6B42FF |
DE00CE |
E7005A |
F73100 |
E75A10 |
AD7B00 |
00AD00 |
00AD00 |
00AD42 |
008C8C |
000000 |
000000 |
000000 |
2 |
F7F7F7 |
39BDFF |
6B84FF |
9473F7 |
F773F7 |
F75294 |
F77352 |
FFA542 |
F7B500 |
B5F710 |
5ADE52 |
52F794 |
00EFDE |
737373 |
000000 |
000000 |
3 |
FFFFFF |
A5E7FF |
B5B5F7 |
D6B5F7 |
F7B5F7 |
FFA5C6 |
EFCEAD |
FFE7AD |
FFDE7B |
D6F773 |
B5F7B5 |
B5F7D6 |
00FFFF |
F7D6F7 |
000000 |
000000 |
Код для Javascript
1const palette = [
2
3
4 0x7B7B7B, 0x0000FF, 0x0000BD, 0x4229BD,
5 0x940084, 0xAD0021, 0x8C1000, 0x8C1000,
6 0x522900, 0x007300, 0x006B00, 0x005A00,
7 0x004252, 0x000000, 0x000000, 0x000000,
8
9 0xBDBDBD, 0x0073F7, 0x0052F7, 0x6B42FF,
10 0xDE00CE, 0xE7005A, 0xF73100, 0xE75A10,
11 0xAD7B00, 0x00AD00, 0x00AD00, 0x00AD42,
12 0x008C8C, 0x000000, 0x000000, 0x000000,
13
14 0xF7F7F7, 0x39BDFF, 0x6B84FF, 0x9473F7,
15 0xF773F7, 0xF75294, 0xF77352, 0xFFA542,
16 0xF7B500, 0xB5F710, 0x5ADE52, 0x52F794,
17 0x00EFDE, 0x737373, 0x000000, 0x000000,
18
19 0xFFFFFF, 0xA5E7FF, 0xB5B5F7, 0xD6B5F7,
20 0xF7B5F7, 0xFFA5C6, 0xEFCEAD, 0xFFE7AD,
21 0xFFDE7B, 0xD6F773, 0xB5F7B5, 0xB5F7D6,
22 0x00FFFF, 0xF7D6F7, 0x000000, 0x000000
23];