-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcolor.const.js
670 lines (668 loc) · 28.7 KB
/
color.const.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
var color1 = [];
var color2 = [];
var color3 = [];
var color4 = [];
var nearestColor1, nearestColor2, nearestColor3, nearestColor4;
const colorLookup = [
{value: 0, color: 0xFFC0C0},
{value: 1, color: 0xFFD0FF},
{value: 2, color: 0xF0C8F0},
{value: 3, color: 0xFFD8E0},
{value: 4, color: 0xFFE0C0},
{value: 5, color: 0xFFF8C0},
{value: 6, color: 0xE0F8C0},
{value: 7, color: 0xC0E0C0},
{value: 8, color: 0xC0F8FF},
{value: 9, color: 0xC0C0FF},
{value: 10, color: 0xD0E0FF},
{value: 11, color: 0xCFD8FF},
{value: 12, color: 0xFFD8EF},
{value: 13, color: 0xFFE8F0},
{value: 14, color: 0xFFE0DF},
{value: 15, color: 0xFFF0E0},
{value: 16, color: 0xFFF0CF},
{value: 17, color: 0xEFF8D0},
{value: 18, color: 0xEFE8FF},
{value: 19, color: 0xCFF8E0},
{value: 20, color: 0xDFF8FF},
{value: 21, color: 0xE0D8FF},
{value: 22, color: 0xEFD8FF},
{value: 23, color: 0xF0D0CF},
{value: 24, color: 0xE0D8DF},
{value: 25, color: 0xE0D8C0},
{value: 26, color: 0xEFE0C0},
{value: 27, color: 0xE0E0C0},
{value: 28, color: 0xD0E8CF},
{value: 29, color: 0xC0E0DF},
{value: 30, color: 0xCFE0D0},
{value: 31, color: 0xD0D8EF},
{value: 32, color: 0xD0D0F0},
{value: 33, color: 0xDFD0EF},
{value: 34, color: 0xE0C8DF},
{value: 35, color: 0xE0E0DF},
{value: 36, color: 0xE0D8D0},
{value: 37, color: 0xF0E8E0},
{value: 38, color: 0xE0E0D0},
{value: 39, color: 0xE0D8D0},
{value: 40, color: 0xF0E8EF},
{value: 41, color: 0xEFE8CF},
{value: 42, color: 0xDFE0CF},
{value: 43, color: 0xDFE0DF},
{value: 44, color: 0xD0E0CF},
{value: 45, color: 0xDFD8E0},
{value: 46, color: 0xE0D8DF},
{value: 47, color: 0xF0F0F0},
{value: 48, color: 0xE0E0E0},
{value: 49, color: 0xD0D0D0},
{value: 50, color: 0xFFF8FF},
{value: 51, color: 0xC0C0C0},
{value: 52, color: 0xC0C0C0},
{value: 64, color: 0xFF888F},
{value: 65, color: 0xFFA8FF},
{value: 66, color: 0xEF98EF},
{value: 67, color: 0xFFB8CF},
{value: 68, color: 0xFFC88F},
{value: 69, color: 0xFFF88F},
{value: 70, color: 0xCFF88F},
{value: 71, color: 0x8FC88F},
{value: 72, color: 0x8FF8FF},
{value: 73, color: 0x8F88FF},
{value: 74, color: 0xAFC8FF},
{value: 75, color: 0x9FB8FF},
{value: 76, color: 0xFFB8DF},
{value: 77, color: 0xFFD8EF},
{value: 78, color: 0xFFC8BF},
{value: 79, color: 0xFFE8CF},
{value: 80, color: 0xFFE89F},
{value: 81, color: 0xE9F8AF},
{value: 82, color: 0xDFD8FF},
{value: 83, color: 0x9FF8CF},
{value: 84, color: 0xBFF8FF},
{value: 85, color: 0xCFB8FF},
{value: 86, color: 0xDFB8FF},
{value: 87, color: 0xEFA89F},
{value: 88, color: 0xCFB8BF},
{value: 89, color: 0xCFB88F},
{value: 90, color: 0xDFC88F},
{value: 91, color: 0xCFC88F},
{value: 92, color: 0xAFD89F},
{value: 93, color: 0x8FC8BF},
{value: 94, color: 0x9FC8AF},
{value: 95, color: 0xAFB8DF},
{value: 96, color: 0xAFA8EF},
{value: 97, color: 0xBFA8DF},
{value: 98, color: 0xCF98BF},
{value: 99, color: 0xCFC8BF},
{value: 100, color: 0xCFB8AF},
{value: 101, color: 0xEFD8CF},
{value: 102, color: 0xCFC8AF},
{value: 103, color: 0xCFB8AF},
{value: 104, color: 0xEFD8DF},
{value: 105, color: 0xDFD89F},
{value: 106, color: 0xBFC89F},
{value: 107, color: 0xBFC8BF},
{value: 108, color: 0xAFC89F},
{value: 109, color: 0xBFB8CF},
{value: 110, color: 0xCFB8BF},
{value: 111, color: 0xEFE8EF},
{value: 112, color: 0xCFC8CF},
{value: 113, color: 0xAFA8AF},
{value: 114, color: 0xFFF8FF},
{value: 115, color: 0x8F888F},
{value: 116, color: 0x8F888F},
{value: 128, color: 0xFF5050},
{value: 129, color: 0xFF80FF},
{value: 130, color: 0xE068E0},
{value: 131, color: 0xFF98B0},
{value: 132, color: 0xFFB050},
{value: 133, color: 0xFFF850},
{value: 134, color: 0xB0F850},
{value: 135, color: 0x50B050},
{value: 136, color: 0x50F8FF},
{value: 137, color: 0x5050FF},
{value: 138, color: 0x80B0FF},
{value: 139, color: 0x6F98FF},
{value: 140, color: 0xFF98CF},
{value: 141, color: 0xFFC8E0},
{value: 142, color: 0xFFB09F},
{value: 143, color: 0xFFE0B0},
{value: 144, color: 0xFFE06F},
{value: 145, color: 0xCFF880},
{value: 146, color: 0xCFC8FF},
{value: 147, color: 0x6FF8B0},
{value: 148, color: 0x9FF8FF},
{value: 149, color: 0xB098FF},
{value: 150, color: 0xCF98FF},
{value: 151, color: 0xE0806F},
{value: 152, color: 0xB0989F},
{value: 153, color: 0xB09850},
{value: 154, color: 0xCFB050},
{value: 155, color: 0xB0B050},
{value: 156, color: 0x80C86F},
{value: 157, color: 0x50B09F},
{value: 158, color: 0x6FB080},
{value: 159, color: 0x8098CF},
{value: 160, color: 0x8080E0},
{value: 161, color: 0x9F80CF},
{value: 162, color: 0xB0689F},
{value: 163, color: 0xB0B09F},
{value: 164, color: 0xB09880},
{value: 165, color: 0xE0C8B0},
{value: 166, color: 0xB0B080},
{value: 167, color: 0xB09880},
{value: 168, color: 0xE0C8CF},
{value: 169, color: 0xCFC86F},
{value: 170, color: 0x9FB06F},
{value: 171, color: 0x9FB09F},
{value: 172, color: 0x80B06F},
{value: 173, color: 0x9F98B0},
{value: 174, color: 0xB0989F},
{value: 175, color: 0xE0E0E0},
{value: 176, color: 0xB0B0B0},
{value: 177, color: 0x808080},
{value: 178, color: 0xFFF8FF},
{value: 179, color: 0x505050},
{value: 180, color: 0x505050},
{value: 192, color: 0xFF0000},
{value: 193, color: 0xFF40EF},
{value: 194, color: 0xC030C0},
{value: 195, color: 0xFF688F},
{value: 196, color: 0xFF8000},
{value: 197, color: 0xFFF800},
{value: 198, color: 0x80F800},
{value: 199, color: 0x009800},
{value: 200, color: 0x00F8FF},
{value: 201, color: 0x0000FF},
{value: 202, color: 0x5F98FF},
{value: 203, color: 0x3060FF},
{value: 204, color: 0xFF78BF},
{value: 205, color: 0xFFA0D0},
{value: 206, color: 0xFF8860},
{value: 207, color: 0xFFC080},
{value: 208, color: 0xFFD820},
{value: 209, color: 0xAFF85F},
{value: 210, color: 0xA0B0FF},
{value: 211, color: 0x30F89F},
{value: 212, color: 0x7FE8FF},
{value: 213, color: 0x8068FF},
{value: 214, color: 0xAF68F0},
{value: 215, color: 0xC04020},
{value: 216, color: 0x90707F},
{value: 217, color: 0x806000},
{value: 218, color: 0xBF9810},
{value: 219, color: 0x80980F},
{value: 220, color: 0x50A82F},
{value: 221, color: 0x009070},
{value: 222, color: 0x3F905F},
{value: 223, color: 0x5068A0},
{value: 224, color: 0x5F48C0},
{value: 225, color: 0x7058A0},
{value: 226, color: 0x90386F},
{value: 227, color: 0x90886F},
{value: 228, color: 0x906850},
{value: 229, color: 0xCFB090},
{value: 230, color: 0x9F884F},
{value: 231, color: 0x806840},
{value: 232, color: 0xC0B0A0},
{value: 233, color: 0xAFA02F},
{value: 234, color: 0x7F803F},
{value: 235, color: 0x7F806F},
{value: 236, color: 0x50883F},
{value: 237, color: 0x7F6880},
{value: 238, color: 0x807070},
{value: 239, color: 0xCFC8CF},
{value: 240, color: 0x8F888F},
{value: 241, color: 0x5F585F},
{value: 242, color: 0xFFF8FF},
{value: 243, color: 0x000000},
{value: 244, color: 0x000000},
{value: 256, color: 0xAF0000},
{value: 257, color: 0xAF30AF},
{value: 258, color: 0x901890},
{value: 259, color: 0xAF4860},
{value: 260, color: 0xAF6000},
{value: 261, color: 0xAFA800},
{value: 262, color: 0x60A800},
{value: 263, color: 0x006000},
{value: 264, color: 0x00A8AF},
{value: 265, color: 0x0000AF},
{value: 266, color: 0x3060AF},
{value: 267, color: 0x1F48AF},
{value: 268, color: 0xAF48AF},
{value: 269, color: 0xAF7890},
{value: 270, color: 0xAF604F},
{value: 271, color: 0xAF9060},
{value: 272, color: 0xAF901F},
{value: 273, color: 0x7FA830},
{value: 274, color: 0x7F78AF},
{value: 275, color: 0x1FA860},
{value: 276, color: 0x4FA8AF},
{value: 277, color: 0x6048AF},
{value: 278, color: 0x7F48AF},
{value: 279, color: 0x90301F},
{value: 280, color: 0x60484F},
{value: 281, color: 0x604800},
{value: 282, color: 0x7F6000},
{value: 283, color: 0x606000},
{value: 284, color: 0x30781F},
{value: 285, color: 0x00604F},
{value: 286, color: 0x1F6030},
{value: 287, color: 0x30487F},
{value: 288, color: 0x303090},
{value: 289, color: 0x4F307F},
{value: 290, color: 0x60184F},
{value: 291, color: 0x60604F},
{value: 292, color: 0x604830},
{value: 293, color: 0x907860},
{value: 294, color: 0x606030},
{value: 295, color: 0x604830},
{value: 296, color: 0x90787F},
{value: 297, color: 0x7F781F},
{value: 298, color: 0x4F601F},
{value: 299, color: 0x4F604F},
{value: 300, color: 0x30601F},
{value: 301, color: 0x4F4860},
{value: 302, color: 0x60484F},
{value: 303, color: 0x909090},
{value: 304, color: 0x606060},
{value: 305, color: 0x303030},
{value: 306, color: 0xAFA8AF},
{value: 307, color: 0x000000},
{value: 308, color: 0x000000},
{value: 320, color: 0x700000},
{value: 321, color: 0x702070},
{value: 322, color: 0x601060},
{value: 323, color: 0x703040},
{value: 324, color: 0x704000},
{value: 325, color: 0x707000},
{value: 326, color: 0x407000},
{value: 327, color: 0x004000},
{value: 328, color: 0x007070},
{value: 329, color: 0x000070},
{value: 330, color: 0x204070},
{value: 331, color: 0x103070},
{value: 332, color: 0x703050},
{value: 333, color: 0x705060},
{value: 334, color: 0x704030},
{value: 335, color: 0x706040},
{value: 336, color: 0x706010},
{value: 337, color: 0x507020},
{value: 338, color: 0x505070},
{value: 339, color: 0x107040},
{value: 340, color: 0x307070},
{value: 341, color: 0x403070},
{value: 342, color: 0x503070},
{value: 343, color: 0x602010},
{value: 344, color: 0x403030},
{value: 345, color: 0x403000},
{value: 346, color: 0x504000},
{value: 347, color: 0x404000},
{value: 348, color: 0x205010},
{value: 349, color: 0x004030},
{value: 350, color: 0x104020},
{value: 351, color: 0x203050},
{value: 352, color: 0x202060},
{value: 353, color: 0x302050},
{value: 354, color: 0x401030},
{value: 355, color: 0x404030},
{value: 356, color: 0x403020},
{value: 357, color: 0x605040},
{value: 358, color: 0x404020},
{value: 359, color: 0x403020},
{value: 360, color: 0x605050},
{value: 361, color: 0x505010},
{value: 362, color: 0x304010},
{value: 363, color: 0x304030},
{value: 364, color: 0x204010},
{value: 365, color: 0x303040},
{value: 366, color: 0x403030},
{value: 367, color: 0x606060},
{value: 368, color: 0x404040},
{value: 369, color: 0x202020},
{value: 370, color: 0x707070},
{value: 371, color: 0x000000},
{value: 372, color: 0x000000},
{value: 384, color: 0x3F0000},
{value: 385, color: 0x3F103F},
{value: 386, color: 0x300830},
{value: 387, color: 0x3F1820},
{value: 388, color: 0x3F2000},
{value: 389, color: 0x3F3800},
{value: 390, color: 0x203800},
{value: 391, color: 0x002000},
{value: 392, color: 0x00383F},
{value: 393, color: 0x00003F},
{value: 394, color: 0x10203F},
{value: 395, color: 0x0F183F},
{value: 396, color: 0x3F182F},
{value: 397, color: 0x3F2830},
{value: 398, color: 0x3F201F},
{value: 399, color: 0x3F3020},
{value: 400, color: 0x3F300F},
{value: 401, color: 0x2F3810},
{value: 402, color: 0x2F283F},
{value: 403, color: 0x0F3820},
{value: 404, color: 0x1F383F},
{value: 405, color: 0x20183F},
{value: 406, color: 0x2F183F},
{value: 407, color: 0x30100F},
{value: 408, color: 0x20181F},
{value: 409, color: 0x201800},
{value: 410, color: 0x2F2000},
{value: 411, color: 0x202000},
{value: 412, color: 0x10280F},
{value: 413, color: 0x00201F},
{value: 414, color: 0x0F2010},
{value: 415, color: 0x10182F},
{value: 416, color: 0x101030},
{value: 417, color: 0x1F102F},
{value: 418, color: 0x20081F},
{value: 419, color: 0x20201F},
{value: 420, color: 0x201810},
{value: 421, color: 0x302820},
{value: 422, color: 0x202010},
{value: 423, color: 0x201810},
{value: 424, color: 0x30282F},
{value: 425, color: 0x2F280F},
{value: 426, color: 0x1F200F},
{value: 427, color: 0x1F201F},
{value: 428, color: 0x10200F},
{value: 429, color: 0x1F1820},
{value: 430, color: 0x20181F},
{value: 431, color: 0x303030},
{value: 432, color: 0x202020},
{value: 433, color: 0x101010},
{value: 434, color: 0x3F383F},
{value: 435, color: 0x000000},
{value: 436, color: 0x000000},
{value: 448, color: 0xFF0000},
{value: 449, color: 0xFF40EF},
{value: 450, color: 0xC030C0},
{value: 451, color: 0xFF688F},
{value: 452, color: 0xFF8000},
{value: 453, color: 0xFFF800},
{value: 454, color: 0x80F800},
{value: 455, color: 0x009800},
{value: 456, color: 0x00F8FF},
{value: 457, color: 0x0000FF},
{value: 458, color: 0x5F98FF},
{value: 459, color: 0x3060FF},
{value: 460, color: 0xFF78BF},
{value: 461, color: 0xFFA0D0},
{value: 462, color: 0xFF8860},
{value: 463, color: 0xFFC080},
{value: 464, color: 0xFFD820},
{value: 465, color: 0xAFF85F},
{value: 466, color: 0xA0B0FF},
{value: 467, color: 0x30F89F},
{value: 468, color: 0x7FE8FF},
{value: 469, color: 0x8068FF},
{value: 470, color: 0xAF68F0},
{value: 471, color: 0xC04020},
{value: 472, color: 0x90707F},
{value: 473, color: 0x806000},
{value: 474, color: 0xBF9810},
{value: 475, color: 0x80980F},
{value: 476, color: 0x50A82F},
{value: 477, color: 0x009070},
{value: 478, color: 0x3F905F},
{value: 479, color: 0x5068A0},
{value: 480, color: 0x5F48C0},
{value: 481, color: 0x7058A0},
{value: 482, color: 0x90386F},
{value: 483, color: 0x90886F},
{value: 484, color: 0x906850},
{value: 485, color: 0xCFB090},
{value: 486, color: 0x9F884F},
{value: 487, color: 0x806840},
{value: 488, color: 0xC0B0A0},
{value: 489, color: 0xAFA02F},
{value: 490, color: 0x7F803F},
{value: 491, color: 0x7F806F},
{value: 492, color: 0x50883F},
{value: 493, color: 0x7F6880},
{value: 494, color: 0x807070},
{value: 495, color: 0xCFC8CF},
{value: 496, color: 0x8F888F},
{value: 497, color: 0x5F585F},
{value: 498, color: 0xFFF8FF},
{value: 499, color: 0x000000},
{value: 500, color: 0x000000},
{value: 704, colors: [0xFFE8CF, 0xDF904F, 0xAF2820, 0x301850]},
{value: 640, colors: [0xFFF8E0, 0xE0B080, 0xCF686F, 0x6F5080]},
{value: 768, colors: [0xAFA890, 0x906030, 0x7F181F, 0x1F0030]},
{value: 705, colors: [0xDFD8C0, 0xCFB070, 0xB05010, 0x000000]},
{value: 641, colors: [0xF4F4F4, 0xE0C89F, 0xCF8050, 0x505050]},
{value: 769, colors: [0x909090, 0x90784F, 0x7F3000, 0x000000]},
{value: 706, colors: [0xFFC0FF, 0xEF9850, 0x9F3860, 0x3F389F]},
{value: 642, colors: [0xFFE0FF, 0xFFB080, 0xB0689F, 0x6F68B0]},
{value: 770, colors: [0xAF90AF, 0xAF6030, 0x60184F, 0x1F1860]},
{value: 707, colors: [0xFFF8AF, 0xC0804F, 0xFF0000, 0x501800]},
{value: 643, colors: [0xFFF8CF, 0xE0B080, 0xFF5050, 0x805050]},
{value: 771, colors: [0xAFA87F, 0x906030, 0xAF0000, 0x300000]},
{value: 708, colors: [0xFFF8AF, 0x7FC07F, 0x6F8840, 0x5F3820]},
{value: 644, colors: [0xFFE0CF, 0x9FE09F, 0x9FB080, 0x80686F]},
{value: 772, colors: [0xAF907F, 0x4F904F, 0x4F6030, 0x30181F]},
{value: 709, colors: [0xDFE8FF, 0xE08850, 0xAF0000, 0x004010]},
{value: 645, colors: [0xE0F8FF, 0xFFB080, 0xCF5050, 0x508050]},
{value: 773, colors: [0x90A8AF, 0xAF6030, 0x7F0000, 0x003000]},
{value: 710, colors: [0x000050, 0x00A0EF, 0x7F7800, 0xFFF85F]},
{value: 646, colors: [0x505080, 0x50C8FF, 0x9F9850, 0xFFF880]},
{value: 774, colors: [0x000030, 0x0078AF, 0x4F4800, 0xAFA830]},
{value: 711, colors: [0xFFE8E0, 0xFFB88F, 0x804000, 0x301800]},
{value: 647, colors: [0xFFF8FF, 0xFFC8B0, 0xB08050, 0x6F5050]},
{value: 775, colors: [0xAFA8AF, 0xAF7860, 0x603000, 0x1F0000]},
{value: 712, colors: [0xF0C8A0, 0xC0884F, 0x2F7800, 0x000000]},
{value: 648, colors: [0xFFE0CF, 0xE0B080, 0x6F9850, 0x505050]},
{value: 776, colors: [0xAF907F, 0x906030, 0x1F4800, 0x000000]},
{value: 713, colors: [0xFFF8FF, 0xFFE850, 0xFF3000, 0x50005F]},
{value: 649, colors: [0xFFF8FF, 0xFFF880, 0xFF6850, 0x805080]},
{value: 777, colors: [0xAFA8AF, 0xAFA830, 0xAF1800, 0x300030]},
{value: 714, colors: [0xFFC0FF, 0xEF888F, 0x7F30EF, 0x2F289F]},
{value: 650, colors: [0xFFE0FF, 0xFFB0B0, 0x9F68FF, 0x6F68B0]},
{value: 778, colors: [0xAF90AF, 0xAF6060, 0x4F18AF, 0x1F1860]},
{value: 715, colors: [0xFFF8A0, 0x00F800, 0xFF3000, 0x000050]},
{value: 651, colors: [0xFFF8CF, 0x50F850, 0xFF6850, 0x505080]},
{value: 779, colors: [0xAFA87F, 0x00A800, 0xAF1800, 0x000030]},
{value: 716, colors: [0xFFF880, 0x90B0E0, 0x2F1060, 0x100810]},
{value: 652, colors: [0xFFE0B0, 0xB0C8FF, 0x6F509F, 0x505050]},
{value: 780, colors: [0xAF9060, 0x6078AF, 0x1F004F, 0x000000]},
{value: 717, colors: [0xD0F8FF, 0xFF9050, 0xA00000, 0x1F0000]},
{value: 653, colors: [0xE0F8FF, 0xFFB080, 0xCF5050, 0x505050]},
{value: 781, colors: [0x90A8AF, 0xAF6030, 0x7F0000, 0x000000]},
{value: 718, colors: [0x6FB83F, 0xE05040, 0xE0B880, 0x001800]},
{value: 654, colors: [0x9FC86F, 0xFF8080, 0xFFC8B0, 0x505050]},
{value: 782, colors: [0x4F781F, 0xAF3030, 0xAF7860, 0x000000]},
{value: 719, colors: [0xFFF8FF, 0xBFB8BF, 0x707070, 0x000000]},
{value: 655, colors: [0xFFF8FF, 0xCFC8CF, 0x9F989F, 0x505050]},
{value: 783, colors: [0xAFA8AF, 0x7F787F, 0x4F484F, 0x000000]},
{value: 720, colors: [0xFFD09F, 0x70C0C0, 0xFF602F, 0x304860]},
{value: 656, colors: [0xFFE0AF, 0x9FE0E0, 0xFF986F, 0x6F809F]},
{value: 784, colors: [0xAF9060, 0x4F9090, 0xAF481F, 0x1F304F]},
{value: 720, colors: [0xDFD8C0, 0xE08020, 0x005000, 0x001010]},
{value: 657, colors: [0xE0E0E0, 0xFFB06F, 0x508050, 0x505050]},
{value: 785, colors: [0x909090, 0xAF601F, 0x003000, 0x000000]},
{value: 722, colors: [0xE0A8CF, 0xFFF87F, 0x00B8FF, 0x20205F]},
{value: 658, colors: [0xFFC8E0, 0xFFF89F, 0x50C8FF, 0x6F6880]},
{value: 786, colors: [0xAF7890, 0xAFA84F, 0x0078AF, 0x1F1830]},
{value: 723, colors: [0xF0F8BF, 0xE0A87F, 0x0FC800, 0x000000]},
{value: 659, colors: [0xFFF8CF, 0xFFC89F, 0x50E050, 0x505050]},
{value: 787, colors: [0xAFA87F, 0xAF784F, 0x009000, 0x000000]},
{value: 724, colors: [0xFFF8BF, 0xE0B06F, 0xB07820, 0x504870]},
{value: 660, colors: [0xFFF8E0, 0xFFC89F, 0xCF986F, 0x80809F]},
{value: 788, colors: [0xAFA890, 0xAF784F, 0x7F481F, 0x30304F]},
{value: 725, colors: [0x7F78CF, 0xFF68FF, 0xFFD000, 0x404040]},
{value: 661, colors: [0x9F98E0, 0xFF98FF, 0xFFE050, 0x808080]},
{value: 789, colors: [0x4F4890, 0xAF48AF, 0xAF9000, 0x303030]},
{value: 726, colors: [0x60D850, 0xFFF8FF, 0xCF303F, 0x3F0000]},
{value: 662, colors: [0x9FE080, 0xFFF8FF, 0xE0686F, 0x6F5050]},
{value: 790, colors: [0x4F9030, 0xAFA8AF, 0x90181F, 0x1F0000]},
{value: 727, colors: [0xE0F8A0, 0x7FC83F, 0x4F881F, 0x0F1800]},
{value: 663, colors: [0xFFF8CF, 0x9FE06F, 0x80B050, 0x505050]},
{value: 791, colors: [0xAFA87F, 0x4F901F, 0x306000, 0x000000]},
{value: 728, colors: [0xF0A86F, 0x7FA8FF, 0xD000D0, 0x00007F]},
{value: 664, colors: [0xFFC89F, 0x9FC8FF, 0xE050E0, 0x50509F]},
{value: 792, colors: [0xAF784F, 0x4F78AF, 0x900090, 0x00004F]},
{value: 729, colors: [0xF0E8F0, 0xEFA060, 0x40783F, 0x1F080F]},
{value: 665, colors: [0xFFF8FF, 0xFFC89F, 0x80986F, 0x505050]},
{value: 793, colors: [0xAFA8AF, 0xAF784F, 0x30481F, 0x000000]},
{value: 730, colors: [0xFFE0E0, 0xDFA0D0, 0x9FA0E0, 0x0F0000]},
{value: 666, colors: [0xFFF8FF, 0xE0C8E0, 0xB0C8FF, 0x505050]},
{value: 794, colors: [0xAFA8AF, 0x907890, 0x6078AF, 0x000000]},
{value: 731, colors: [0xF8F8B8, 0x90C8C8, 0x486878, 0x082048]},
{value: 667, colors: [0xF8F8C8, 0xB0E0E0, 0x809898, 0x506880]},
{value: 795, colors: [0xA8A878, 0x609090, 0x304848, 0x001830]},
{value: 732, colors: [0xF8D8A8, 0xE0A878, 0x785888, 0x002030]},
{value: 668, colors: [0xF8E0C8, 0xF8C898, 0x9880B0, 0x506868]},
{value: 796, colors: [0xA89078, 0xA87848, 0x483060, 0x001818]},
{value: 733, colors: [0xBFD0D0, 0xDF80DF, 0x8000A0, 0x3F0000]},
{value: 669, colors: [0xCFE0E0, 0xE0B0E0, 0xB050CF, 0x6F5050]},
{value: 797, colors: [0x7F9090, 0x906090, 0x60007F, 0x1F0000]},
{value: 734, colors: [0xB0E01F, 0xBF205F, 0x2F1000, 0x008060]},
{value: 670, colors: [0xCFF850, 0xCF6880, 0x6F5050, 0x50B09F]},
{value: 798, colors: [0x7FA800, 0x7F1830, 0x1F0000, 0x00604F]},
{value: 735, colors: [0xFFF8CF, 0xBFC05F, 0x808840, 0x40502F]},
{value: 671, colors: [0xFFF8E0, 0xCFE080, 0xB0B080, 0x80806F]},
{value: 799, colors: [0xAFA890, 0x7F9030, 0x606030, 0x30301F]},
{value: 576, colors: [0xFFF8EF, 0xEFC8AF, 0xDF989F, 0x9F88AF]},
{value: 832, colors: [0x707060, 0x604020, 0x501010, 0x100020]},
{value: 577, colors: [0xEFE8EF, 0xEFD8BF, 0xDFA88F, 0x8F888F]},
{value: 833, colors: [0x606060, 0x605030, 0x502000, 0x000000]},
{value: 578, colors: [0xFFE8FF, 0xFFC8AF, 0xCF98BF, 0x9F98CF]},
{value: 834, colors: [0x706070, 0x704020, 0x40101C, 0x101040]},
{value: 579, colors: [0xFFF8DF, 0xEFC8AF, 0xFF888F, 0xAF888F]},
{value: 835, colors: [0x707050, 0x604020, 0x700000, 0x200000]},
{value: 580, colors: [0xFFE8DF, 0xBFE8BF, 0xBFC8AF, 0xAF989F]},
{value: 836, colors: [0x706050, 0x306030, 0x304020, 0x201010]},
{value: 581, colors: [0xEFF8FF, 0xFFC8AF, 0xDF888F, 0x8FA88F]},
{value: 837, colors: [0x607070, 0x704020, 0x500000, 0x002000]},
{value: 582, colors: [0x8F88AF, 0x8FD8FF, 0xBFB88F, 0xFFF8AF]},
{value: 838, colors: [0x000020, 0x005078, 0x303000, 0x707020]},
{value: 583, colors: [0xFFF8FF, 0xFFD8CF, 0xCFA88F, 0x9F888F]},
{value: 839, colors: [0x707070, 0x705040, 0x402000, 0x100000]},
{value: 584, colors: [0xFFE8DF, 0xEFC8AF, 0x9FB88F, 0x8F888F]},
{value: 840, colors: [0x706050, 0x604020, 0x103000, 0x000000]},
{value: 585, colors: [0xFFF8FF, 0xFFF8AF, 0xFF988F, 0xAF88AF]},
{value: 841, colors: [0x707070, 0x707020, 0x701000, 0x200020]},
{value: 586, colors: [0xFFE8FF, 0xFFC8CF, 0xBF98FF, 0x9F98CF]},
{value: 842, colors: [0x706070, 0x704040, 0x301070, 0x101040]},
{value: 587, colors: [0xFFF8DF, 0x8FF88F, 0xFF988F, 0x8F88AF]},
{value: 834, colors: [0x707050, 0x007000, 0x701000, 0x000020]},
{value: 588, colors: [0xFFE8CF, 0xCFD8FF, 0x9F88BF, 0x8F888F]},
{value: 844, colors: [0x706040, 0x405070, 0x100030, 0x000000]},
{value: 589, colors: [0xEFF8FF, 0xFFC8AF, 0xDF888F, 0x8F888F]},
{value: 845, colors: [0x607070, 0x704020, 0x500000, 0x000000]},
{value: 590, colors: [0xBFD89F, 0xFFA8AF, 0xFFD8CF, 0x8F888F]},
{value: 846, colors: [0x305010, 0x702020, 0x705040, 0x000000]},
{value: 591, colors: [0xFFF8FF, 0xDFD8DF, 0xBFB8BF, 0x8F888F]},
{value: 847, colors: [0x707070, 0x505050, 0x303030, 0x000000]},
{value: 592, colors: [0xFFE8CF, 0xBFE8EF, 0xFFB89F, 0x9FA8BF]},
{value: 848, colors: [0x706040, 0x306060, 0x703010, 0x102030]},
{value: 593, colors: [0xEFE8EF, 0xFFC89F, 0x8FA88F, 0x8F888F]},
{value: 849, colors: [0x606060, 0x704010, 0x002000, 0x000000]},
{value: 594, colors: [0xFFD8EF, 0xFFF8BF, 0x8FD8FF, 0x9F98AF]},
{value: 850, colors: [0x705060, 0x707030, 0x005070, 0x101020]},
{value: 595, colors: [0xFFF8DF, 0xFFD8BF, 0x8FE88F, 0x8F888F]},
{value: 851, colors: [0x707050, 0x705030, 0x006000, 0x000000]},
{value: 596, colors: [0xFFF8EF, 0xFFD8BF, 0xDFB89F, 0xAFA8BF]},
{value: 852, colors: [0x707060, 0x705030, 0x503010, 0x202030]},
{value: 597, colors: [0xBFB8EF, 0xFFB8FF, 0xFFE88F, 0xAFA8AF]},
{value: 853, colors: [0x303060, 0x703070, 0x706000, 0x202020]},
{value: 598, colors: [0xBFE8AF, 0xFFF8FF, 0xEF989F, 0x9F888F]},
{value: 854, colors: [0x306020, 0x707070, 0x601010, 0x100000]},
{value: 599, colors: [0xFFF8DF, 0xBFE89F, 0xAFC88F, 0x8F888F]},
{value: 855, colors: [0x707050, 0x306010, 0x204000, 0x000000]},
{value: 600, colors: [0xFFD8BF, 0xBFD8FF, 0xEF88EF, 0x8F88BF]},
{value: 856, colors: [0x705030, 0x305070, 0x600060, 0x000030]},
{value: 601, colors: [0xFFF8FF, 0xFFD8BF, 0xAFB89F, 0x8F888F]},
{value: 857, colors: [0x707070, 0x705030, 0x203010, 0x000000]},
{value: 602, colors: [0xFFF8FF, 0xEFD8EF, 0xCFD8FF, 0x8F888F]},
{value: 858, colors: [0x707070, 0x605060, 0x405070, 0x000000]},
{value: 603, colors: [0xF8F8D8, 0xC8E8E8, 0xA8B8B8, 0x8F98AF]},
{value: 859, colors: [0x707050, 0x406060, 0x203030, 0x001020]},
{value: 604, colors: [0xF8E8D8, 0xF8D8B8, 0xB8A8C8, 0x889898]},
{value: 860, colors: [0x706050, 0x705030, 0x302040, 0x001010]},
{value: 605, colors: [0xDFE8EF, 0xEFC8EF, 0xCF88DF, 0x9F888F]},
{value: 861, colors: [0x506060, 0x604060, 0x400050, 0x100000]},
{value: 606, colors: [0xDFF88F, 0xDF98AF, 0x9F888F, 0x8FC8BF]},
{value: 862, colors: [0x507000, 0x501020, 0x100000, 0x004030]},
{value: 607, colors: [0xFFF8EF, 0xDFE8AF, 0xCFC8AF, 0xAFA89F]},
{value: 863, colors: [0x707060, 0x506020, 0x404020, 0x202010]},
{value: 512, colors: [0xFFF8F0, 0xF0E0D0, 0xEFC8CF, 0xCFC0D0]},
{value: 896, colors: [0x3F3830, 0x302010, 0x2F080F, 0x0F0010]},
{value: 513, colors: [0xF0F0F0, 0xF0E8DF, 0xEFD0C0, 0xC0C0C0]},
{value: 897, colors: [0x303030, 0x30281F, 0x2F1000, 0x000000]},
{value: 514, colors: [0xFFF0FF, 0xFFE0D0, 0xE0C8DF, 0xCFC8E0]},
{value: 898, colors: [0x3F303F, 0x3F2010, 0x20081F, 0x0F0820]},
{value: 515, colors: [0xFFF8EF, 0xF0E0D0, 0xFFC0C0, 0xD0C0C0]},
{value: 899, colors: [0x3F382F, 0x302010, 0x3F0000, 0x100000]},
{value: 516, colors: [0xFFF0EF, 0xDFF0DF, 0xDFE0D0, 0xD0C8CF]},
{value: 900, colors: [0x3F302F, 0x1F301F, 0x1F2010, 0x10080F]},
{value: 517, colors: [0xF0F8FF, 0xFFE0D0, 0xEFC0C0, 0xC0D0C0]},
{value: 901, colors: [0x30383F, 0x3F2010, 0x2F0000, 0x001000]},
{value: 518, colors: [0xC0C0D0, 0xC0E8FF, 0xDFD8C0, 0xFFF8D0]},
{value: 902, colors: [0x000010, 0x00283F, 0x1F1800, 0x3F3810]},
{value: 519, colors: [0xFFF8FF, 0xFFE8E0, 0xE0D0C0, 0xCFC0C0]},
{value: 903, colors: [0x3F383F, 0x3F2820, 0x201000, 0x0F0000]},
{value: 520, colors: [0xFFF0EF, 0xF0E0D0, 0xCFD8C0, 0xC0C0C0]},
{value: 904, colors: [0x3F302F, 0x302010, 0x0F1800, 0x000000]},
{value: 521, colors: [0xFFF8FF, 0xFFF8D0, 0xFFC8C0, 0xD0C0D0]},
{value: 905, colors: [0x3F383F, 0x3F3810, 0x3F0800, 0x100010]},
{value: 522, colors: [0xFFF0FF, 0xFFE0E0, 0xDFC8FF, 0xCFC8E0]},
{value: 906, colors: [0x3F303F, 0x3F2020, 0x1F083F, 0x0F0820]},
{value: 523, colors: [0xFFF8EF, 0xC0F8C0, 0xFFC8C0, 0xC0C0D0]},
{value: 907, colors: [0x3F382F, 0x003800, 0x3F0800, 0x000010]},
{value: 524, colors: [0xFFF0E0, 0xE0E8FF, 0xCFC0DF, 0xC0C0C0]},
{value: 908, colors: [0x3F3020, 0x20283F, 0x0F001F, 0x000000]},
{value: 525, colors: [0xF0F8FF, 0xFFE0D0, 0xEFC0C0, 0xC0C0C0]},
{value: 909, colors: [0x30383F, 0x3F2010, 0x2F0000, 0x000000]},
{value: 526, colors: [0xDFE8CF, 0xFFD0D0, 0xFFE8E0, 0xC0C0C0]},
{value: 910, colors: [0x1F280F, 0x3F1010, 0x3F2820, 0x000000]},
{value: 527, colors: [0xFFF8FF, 0xEFE8EF, 0xDFD8DF, 0xC0C0C0]},
{value: 911, colors: [0x3F383F, 0x2F282F, 0x1F181F, 0x000000]},
{value: 528, colors: [0xFFF0E0, 0xDFF0F0, 0xFFD8CF, 0xCFD0DF]},
{value: 912, colors: [0x3F3020, 0x1F3030, 0x3F180F, 0x0F101F]},
{value: 529, colors: [0xF0F0F0, 0xFFE0CF, 0xC0D0C0, 0xC0C0C0]},
{value: 913, colors: [0x303030, 0x3F200F, 0x001000, 0x000000]},
{value: 530, colors: [0xFFE8F0, 0xFFF8DF, 0xC0E8FF, 0xCFC8D0]},
{value: 914, colors: [0x3F2830, 0x3F381F, 0x00283F, 0x0F0810]},
{value: 531, colors: [0xFFF8EF, 0xFFE8DF, 0xC0F0C0, 0xC0C0C0]},
{value: 915, colors: [0x3F382F, 0x3F281F, 0x003000, 0x000000]},
{value: 532, colors: [0xFFF8F0, 0xFFE8DF, 0xEFD8CF, 0xD0D0DF]},
{value: 916, colors: [0x3F3830, 0x3F281F, 0x2F180F, 0x10101F]},
{value: 533, colors: [0xDFD8F0, 0xFFD8FF, 0xFFF0C0, 0xD0D0D0]},
{value: 917, colors: [0x1F1830, 0x3F183F, 0x3F3000, 0x101010]},
{value: 534, colors: [0xDFF0D0, 0xFFF8FF, 0xF0C8CF, 0xCFC0C0]},
{value: 918, colors: [0x1F3010, 0x3F383F, 0x30080F, 0x0F0000]},
{value: 535, colors: [0xFFF8EF, 0xDFF0CF, 0xD0E0C0, 0xC0C0C0]},
{value: 919, colors: [0x3F382F, 0x1F300F, 0x102000, 0x000000]},
{value: 536, colors: [0xFFE8DF, 0xDFE8FF, 0xF0C0F0, 0xC0C0DF]},
{value: 920, colors: [0x3F281F, 0x1F283F, 0x300030, 0x00001F]},
{value: 537, colors: [0xFFF8FF, 0xFFE8DF, 0xD0D8CF, 0xC0C0C0]},
{value: 921, colors: [0x3F383F, 0x3F281F, 0x10180F, 0x000000]},
{value: 538, colors: [0xFFF8FF, 0xF0E8F0, 0xE0E8FF, 0xC0C0C0]},
{value: 922, colors: [0x3F383F, 0x302830, 0x20283F, 0x000000]},
{value: 539, colors: [0xF8F8E8, 0xE0F0F0, 0xD0D8D8, 0xC0C8D0]},
{value: 923, colors: [0x383828, 0x203030, 0x101818, 0x000810]},
{value: 540, colors: [0xF8F0E8, 0xF8E8D8, 0xD8D0E0, 0xC0C8C8]},
{value: 924, colors: [0x383028, 0x382818, 0x181020, 0x000808]},
{value: 541, colors: [0xEFF0F0, 0xF0E0F0, 0xE0C0EF, 0xCFC0C0]},
{value: 925, colors: [0x2F3030, 0x302030, 0x20002F, 0x0F0000]},
{value: 542, colors: [0xEFF8C0, 0xEFC8D0, 0xCFC0C0, 0xC0E0DF]},
{value: 926, colors: [0x2F3800, 0x2F0810, 0x0F0000, 0x00201F]},
{value: 543, colors: [0xFFF8F0, 0xEFF0D0, 0xE0E0D0, 0xD0D0CF]},
{value: 927, colors: [0x3F3830, 0x2F3010, 0x202010, 0x10100F]},
];
const presetColors = [
{value: "bw-contrast", code: "0501-7630-4243"},
{value: "lcd-green", code: "5341-5634-0912"},
{value: "trans-pride", code: "0500-7672-2243"},
{value: "nonbinary-pride", code: "1972-7805-0243"},
{value: "bi-pride", code: "1952-7872-2243"},
{value: "ace-pride", code: "0502-5837-0243"},
{value: "miami-vice", code: "0492-6479-2243"},
{value: "straight-ballin", code: "7287-1072-3243"},
{value: "mellow", code: "0507-1134-0387"},
{value: "springtime", code: "0171-5626-7434"},
{value: "last-dance", code: "0501-2865-5243"}
]