wassily-color 0.2.0

Color utilities and palette management for wassily generative art library
Documentation
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
//! # HTML Color Names
//!
//! Pre-defined color constants for all standard HTML/CSS color names.
//! These colors are provided as lazy-evaluated static constants, making them
//! efficient to use throughout your generative art applications.
//!
//! ## Key Features
//!
//! - **Complete Coverage**: All 140+ HTML/CSS color names
//! - **Lazy Evaluation**: Colors are computed only when first accessed
//! - **Consistent Names**: Use standard HTML color names (e.g., `CORNFLOWERBLUE`)
//! - **Direct Usage**: Dereference with `*` to get the Color value
//!
//! ## Usage
//!
//! ```rust
//! use wassily_color::*;
//! use tiny_skia::Color;
//!
//! // Use named colors directly
//! let blue = *CORNFLOWERBLUE;
//! let red = *CRIMSON;
//! let green = *FORESTGREEN;
//!
//! // Common color combinations
//! let background = *WHITESMOKE;
//! let foreground = *DARKSLATEGRAY;
//!
//! // Vibrant colors for art
//! let vibrant_colors = vec![
//!     *DEEPPINK,
//!     *LIME,
//!     *GOLD,
//!     *MEDIUMORCHID,
//!     *TURQUOISE,
//! ];
//! ```
//!
//! ## Color Categories
//!
//! ### Basic Colors
//! - **BLACK**, **WHITE**, **RED**, **GREEN**, **BLUE**
//! - **YELLOW**, **CYAN**, **MAGENTA**
//!
//! ### Grays
//! - **LIGHTGRAY**, **GRAY**, **DARKGRAY**
//! - **SILVER**, **DIMGRAY**, **LIGHTSLATEGRAY**
//!
//! ### Nature Colors
//! - **FORESTGREEN**, **SEAGREEN**, **OLIVEDRAB**
//! - **SKYBLUE**, **STEELBLUE**, **SANDYBROWN**
//!
//! ### Vibrant Colors
//! - **DEEPPINK**, **LIME**, **GOLD**, **ORANGE**
//! - **VIOLET**, **TURQUOISE**, **HOTPINK**
//!
use crate::color::rgb8;
use once_cell::sync::Lazy;
use tiny_skia::Color;

pub static ALICEBLUE: Lazy<Color> = Lazy::new(|| rgb8(240, 248, 255));
pub static ANTIQUEWHITE: Lazy<Color> = Lazy::new(|| rgb8(250, 235, 215));
pub static AQUA: Lazy<Color> = Lazy::new(|| rgb8(0, 255, 255));
pub static AQUAMARINE: Lazy<Color> = Lazy::new(|| rgb8(127, 255, 212));
pub static AZURE: Lazy<Color> = Lazy::new(|| rgb8(240, 255, 255));
pub static BEIGE: Lazy<Color> = Lazy::new(|| rgb8(245, 245, 220));
pub static BISQUE: Lazy<Color> = Lazy::new(|| rgb8(255, 228, 196));
pub static BLACK: Lazy<Color> = Lazy::new(|| rgb8(0, 0, 0));
pub static BLANCHEDALMOND: Lazy<Color> = Lazy::new(|| rgb8(255, 235, 205));
pub static BLUE: Lazy<Color> = Lazy::new(|| rgb8(0, 0, 255));
pub static BLUEVIOLET: Lazy<Color> = Lazy::new(|| rgb8(138, 43, 226));
pub static BROWN: Lazy<Color> = Lazy::new(|| rgb8(165, 42, 42));
pub static BURLYWOOD: Lazy<Color> = Lazy::new(|| rgb8(222, 184, 135));
pub static CADETBLUE: Lazy<Color> = Lazy::new(|| rgb8(95, 158, 160));
pub static CHARTREUSE: Lazy<Color> = Lazy::new(|| rgb8(127, 255, 0));
pub static CHOCOLATE: Lazy<Color> = Lazy::new(|| rgb8(210, 105, 30));
pub static CORAL: Lazy<Color> = Lazy::new(|| rgb8(255, 127, 80));
pub static CORNFLOWERBLUE: Lazy<Color> = Lazy::new(|| rgb8(100, 149, 237));
pub static CORNSILK: Lazy<Color> = Lazy::new(|| rgb8(255, 248, 220));
pub static CRIMSON: Lazy<Color> = Lazy::new(|| rgb8(220, 20, 60));
pub static CYAN: Lazy<Color> = Lazy::new(|| rgb8(0, 255, 255));
pub static DARKBLUE: Lazy<Color> = Lazy::new(|| rgb8(0, 0, 139));
pub static DARKCYAN: Lazy<Color> = Lazy::new(|| rgb8(0, 139, 139));
pub static DARKGOLDENROD: Lazy<Color> = Lazy::new(|| rgb8(184, 134, 11));
pub static DARKGRAY: Lazy<Color> = Lazy::new(|| rgb8(169, 169, 169));
pub static DARKGREEN: Lazy<Color> = Lazy::new(|| rgb8(0, 100, 0));
pub static DARKGREY: Lazy<Color> = Lazy::new(|| rgb8(169, 169, 169));
pub static DARKKHAKI: Lazy<Color> = Lazy::new(|| rgb8(189, 183, 107));
pub static DARKMAGENTA: Lazy<Color> = Lazy::new(|| rgb8(139, 0, 139));
pub static DARKOLIVEGREEN: Lazy<Color> = Lazy::new(|| rgb8(85, 107, 47));
pub static DARKORANGE: Lazy<Color> = Lazy::new(|| rgb8(255, 140, 0));
pub static DARKORCHID: Lazy<Color> = Lazy::new(|| rgb8(153, 50, 204));
pub static DARKRED: Lazy<Color> = Lazy::new(|| rgb8(139, 0, 0));
pub static DARKSALMON: Lazy<Color> = Lazy::new(|| rgb8(233, 150, 122));
pub static DARKSEAGREEN: Lazy<Color> = Lazy::new(|| rgb8(143, 188, 143));
pub static DARKSLATEBLUE: Lazy<Color> = Lazy::new(|| rgb8(72, 61, 139));
pub static DARKSLATEGRAY: Lazy<Color> = Lazy::new(|| rgb8(47, 79, 79));
pub static DARKSLATEGREY: Lazy<Color> = Lazy::new(|| rgb8(47, 79, 79));
pub static DARKTURQUOISE: Lazy<Color> = Lazy::new(|| rgb8(0, 206, 209));
pub static DARKVIOLET: Lazy<Color> = Lazy::new(|| rgb8(148, 0, 211));
pub static DEEPPINK: Lazy<Color> = Lazy::new(|| rgb8(255, 20, 147));
pub static DEEPSKYBLUE: Lazy<Color> = Lazy::new(|| rgb8(0, 191, 255));
pub static DIMGRAY: Lazy<Color> = Lazy::new(|| rgb8(105, 105, 105));
pub static DIMGREY: Lazy<Color> = Lazy::new(|| rgb8(105, 105, 105));
pub static DODGERBLUE: Lazy<Color> = Lazy::new(|| rgb8(30, 144, 255));
pub static FIREBRICK: Lazy<Color> = Lazy::new(|| rgb8(178, 34, 34));
pub static FLORALWHITE: Lazy<Color> = Lazy::new(|| rgb8(255, 250, 240));
pub static FORESTGREEN: Lazy<Color> = Lazy::new(|| rgb8(34, 139, 34));
pub static FUCHSIA: Lazy<Color> = Lazy::new(|| rgb8(255, 0, 255));
pub static GAINSBORO: Lazy<Color> = Lazy::new(|| rgb8(220, 220, 220));
pub static GHOSTWHITE: Lazy<Color> = Lazy::new(|| rgb8(248, 248, 255));
pub static GOLD: Lazy<Color> = Lazy::new(|| rgb8(255, 215, 0));
pub static GOLDENROD: Lazy<Color> = Lazy::new(|| rgb8(218, 165, 32));
pub static GRAY: Lazy<Color> = Lazy::new(|| rgb8(128, 128, 128));
pub static GREEN: Lazy<Color> = Lazy::new(|| rgb8(0, 128, 0));
pub static GREENYELLOW: Lazy<Color> = Lazy::new(|| rgb8(173, 255, 47));
pub static GREY: Lazy<Color> = Lazy::new(|| rgb8(128, 128, 128));
pub static HONEYDEW: Lazy<Color> = Lazy::new(|| rgb8(240, 255, 240));
pub static HOTPINK: Lazy<Color> = Lazy::new(|| rgb8(255, 105, 180));
pub static INDIANRED: Lazy<Color> = Lazy::new(|| rgb8(205, 92, 92));
pub static INDIGO: Lazy<Color> = Lazy::new(|| rgb8(75, 0, 130));
pub static IVORY: Lazy<Color> = Lazy::new(|| rgb8(255, 255, 240));
pub static KHAKI: Lazy<Color> = Lazy::new(|| rgb8(240, 230, 140));
pub static LAVENDER: Lazy<Color> = Lazy::new(|| rgb8(230, 230, 250));
pub static LAVENDERBLUSH: Lazy<Color> = Lazy::new(|| rgb8(255, 240, 245));
pub static LAWNGREEN: Lazy<Color> = Lazy::new(|| rgb8(124, 252, 0));
pub static LEMONCHIFFON: Lazy<Color> = Lazy::new(|| rgb8(255, 250, 205));
pub static LIGHTBLUE: Lazy<Color> = Lazy::new(|| rgb8(173, 216, 230));
pub static LIGHTCORAL: Lazy<Color> = Lazy::new(|| rgb8(240, 128, 128));
pub static LIGHTCYAN: Lazy<Color> = Lazy::new(|| rgb8(224, 255, 255));
pub static LIGHTGOLDENRODYELLOW: Lazy<Color> = Lazy::new(|| rgb8(250, 250, 210));
pub static LIGHTGRAY: Lazy<Color> = Lazy::new(|| rgb8(211, 211, 211));
pub static LIGHTGREEN: Lazy<Color> = Lazy::new(|| rgb8(144, 238, 144));
pub static LIGHTGREY: Lazy<Color> = Lazy::new(|| rgb8(211, 211, 211));
pub static LIGHTPINK: Lazy<Color> = Lazy::new(|| rgb8(255, 182, 193));
pub static LIGHTSALMON: Lazy<Color> = Lazy::new(|| rgb8(255, 160, 122));
pub static LIGHTSEAGREEN: Lazy<Color> = Lazy::new(|| rgb8(32, 178, 170));
pub static LIGHTSKYBLUE: Lazy<Color> = Lazy::new(|| rgb8(135, 206, 250));
pub static LIGHTSLATEGRAY: Lazy<Color> = Lazy::new(|| rgb8(119, 136, 153));
pub static LIGHTSLATEGREY: Lazy<Color> = Lazy::new(|| rgb8(119, 136, 153));
pub static LIGHTSTEELBLUE: Lazy<Color> = Lazy::new(|| rgb8(176, 196, 222));
pub static LIGHTYELLOW: Lazy<Color> = Lazy::new(|| rgb8(255, 255, 224));
pub static LIME: Lazy<Color> = Lazy::new(|| rgb8(0, 255, 0));
pub static LIMEGREEN: Lazy<Color> = Lazy::new(|| rgb8(50, 205, 50));
pub static LINEN: Lazy<Color> = Lazy::new(|| rgb8(250, 240, 230));
pub static MAGENTA: Lazy<Color> = Lazy::new(|| rgb8(255, 0, 255));
pub static MAROON: Lazy<Color> = Lazy::new(|| rgb8(128, 0, 0));
pub static MEDIUMAQUAMARINE: Lazy<Color> = Lazy::new(|| rgb8(102, 205, 170));
pub static MEDIUMBLUE: Lazy<Color> = Lazy::new(|| rgb8(0, 0, 205));
pub static MEDIUMORCHID: Lazy<Color> = Lazy::new(|| rgb8(186, 85, 211));
pub static MEDIUMPURPLE: Lazy<Color> = Lazy::new(|| rgb8(147, 112, 219));
pub static MEDIUMSEAGREEN: Lazy<Color> = Lazy::new(|| rgb8(60, 179, 113));
pub static MEDIUMSLATEBLUE: Lazy<Color> = Lazy::new(|| rgb8(123, 104, 238));
pub static MEDIUMSPRINGGREEN: Lazy<Color> = Lazy::new(|| rgb8(0, 250, 154));
pub static MEDIUMTURQUOISE: Lazy<Color> = Lazy::new(|| rgb8(72, 209, 204));
pub static MEDIUMVIOLETRED: Lazy<Color> = Lazy::new(|| rgb8(199, 21, 133));
pub static MIDNIGHTBLUE: Lazy<Color> = Lazy::new(|| rgb8(25, 25, 112));
pub static MINTCREAM: Lazy<Color> = Lazy::new(|| rgb8(245, 255, 250));
pub static MISTYROSE: Lazy<Color> = Lazy::new(|| rgb8(255, 228, 225));
pub static MOCCASIN: Lazy<Color> = Lazy::new(|| rgb8(255, 228, 181));
pub static NAVAJOWHITE: Lazy<Color> = Lazy::new(|| rgb8(255, 222, 173));
pub static NAVY: Lazy<Color> = Lazy::new(|| rgb8(0, 0, 128));
pub static OLDLACE: Lazy<Color> = Lazy::new(|| rgb8(253, 245, 230));
pub static OLIVE: Lazy<Color> = Lazy::new(|| rgb8(128, 128, 0));
pub static OLIVEDRAB: Lazy<Color> = Lazy::new(|| rgb8(107, 142, 35));
pub static ORANGE: Lazy<Color> = Lazy::new(|| rgb8(255, 165, 0));
pub static ORANGERED: Lazy<Color> = Lazy::new(|| rgb8(255, 69, 0));
pub static ORCHID: Lazy<Color> = Lazy::new(|| rgb8(218, 112, 214));
pub static PALEGOLDENROD: Lazy<Color> = Lazy::new(|| rgb8(238, 232, 170));
pub static PALEGREEN: Lazy<Color> = Lazy::new(|| rgb8(152, 251, 152));
pub static PALETURQUOISE: Lazy<Color> = Lazy::new(|| rgb8(175, 238, 238));
pub static PALEVIOLETRED: Lazy<Color> = Lazy::new(|| rgb8(219, 112, 147));
pub static PAPAYAWHIP: Lazy<Color> = Lazy::new(|| rgb8(255, 239, 213));
pub static PEACHPUFF: Lazy<Color> = Lazy::new(|| rgb8(255, 218, 185));
pub static PERU: Lazy<Color> = Lazy::new(|| rgb8(205, 133, 63));
pub static PINK: Lazy<Color> = Lazy::new(|| rgb8(255, 192, 203));
pub static PLUM: Lazy<Color> = Lazy::new(|| rgb8(221, 160, 221));
pub static POWDERBLUE: Lazy<Color> = Lazy::new(|| rgb8(176, 224, 230));
pub static PURPLE: Lazy<Color> = Lazy::new(|| rgb8(128, 0, 128));
pub static REBECCAPURPLE: Lazy<Color> = Lazy::new(|| rgb8(102, 51, 153));
pub static RED: Lazy<Color> = Lazy::new(|| rgb8(255, 0, 0));
pub static ROSYBROWN: Lazy<Color> = Lazy::new(|| rgb8(188, 143, 143));
pub static ROYALBLUE: Lazy<Color> = Lazy::new(|| rgb8(65, 105, 225));
pub static SADDLEBROWN: Lazy<Color> = Lazy::new(|| rgb8(139, 69, 19));
pub static SALMON: Lazy<Color> = Lazy::new(|| rgb8(250, 128, 114));
pub static SANDYBROWN: Lazy<Color> = Lazy::new(|| rgb8(244, 164, 96));
pub static SEAGREEN: Lazy<Color> = Lazy::new(|| rgb8(46, 139, 87));
pub static SEASHELL: Lazy<Color> = Lazy::new(|| rgb8(255, 245, 238));
pub static SIENNA: Lazy<Color> = Lazy::new(|| rgb8(160, 82, 45));
pub static SILVER: Lazy<Color> = Lazy::new(|| rgb8(192, 192, 192));
pub static SKYBLUE: Lazy<Color> = Lazy::new(|| rgb8(135, 206, 235));
pub static SLATEBLUE: Lazy<Color> = Lazy::new(|| rgb8(106, 90, 205));
pub static SLATEGRAY: Lazy<Color> = Lazy::new(|| rgb8(112, 128, 144));
pub static SLATEGREY: Lazy<Color> = Lazy::new(|| rgb8(112, 128, 144));
pub static SNOW: Lazy<Color> = Lazy::new(|| rgb8(255, 250, 250));
pub static SPRINGGREEN: Lazy<Color> = Lazy::new(|| rgb8(0, 255, 127));
pub static STEELBLUE: Lazy<Color> = Lazy::new(|| rgb8(70, 130, 180));
pub static TAN: Lazy<Color> = Lazy::new(|| rgb8(210, 180, 140));
pub static TEAL: Lazy<Color> = Lazy::new(|| rgb8(0, 128, 128));
pub static THISTLE: Lazy<Color> = Lazy::new(|| rgb8(216, 191, 216));
pub static TOMATO: Lazy<Color> = Lazy::new(|| rgb8(255, 99, 71));
pub static TURQUOISE: Lazy<Color> = Lazy::new(|| rgb8(64, 224, 208));
pub static VIOLET: Lazy<Color> = Lazy::new(|| rgb8(238, 130, 238));
pub static WHEAT: Lazy<Color> = Lazy::new(|| rgb8(245, 222, 179));
pub static WHITE: Lazy<Color> = Lazy::new(|| rgb8(255, 255, 255));
pub static WHITESMOKE: Lazy<Color> = Lazy::new(|| rgb8(245, 245, 245));
pub static YELLOW: Lazy<Color> = Lazy::new(|| rgb8(255, 255, 0));
pub static YELLOWGREEN: Lazy<Color> = Lazy::new(|| rgb8(154, 205, 50));

pub fn alice_blue() -> Color {
    rgb8(240, 248, 255)
}
pub fn antique_white() -> Color {
    rgb8(250, 235, 215)
}
pub fn aqua() -> Color {
    rgb8(0, 255, 255)
}
pub fn aquamarine() -> Color {
    rgb8(127, 255, 212)
}
pub fn azure() -> Color {
    rgb8(240, 255, 255)
}
pub fn beige() -> Color {
    rgb8(245, 245, 220)
}
pub fn bisque() -> Color {
    rgb8(255, 228, 196)
}
pub fn black() -> Color {
    rgb8(0, 0, 0)
}
pub fn blanched_almond() -> Color {
    rgb8(255, 235, 205)
}
pub fn blue() -> Color {
    rgb8(0, 0, 255)
}
pub fn blue_violet() -> Color {
    rgb8(138, 43, 226)
}
pub fn brown() -> Color {
    rgb8(165, 42, 42)
}
pub fn burlywood() -> Color {
    rgb8(222, 184, 135)
}
pub fn cadet_blue() -> Color {
    rgb8(95, 158, 160)
}
pub fn chartreuse() -> Color {
    rgb8(127, 255, 0)
}
pub fn chocolate() -> Color {
    rgb8(210, 105, 30)
}
pub fn coral() -> Color {
    rgb8(255, 127, 80)
}
pub fn cornflower_blue() -> Color {
    rgb8(100, 149, 237)
}
pub fn cornsilk() -> Color {
    rgb8(255, 248, 220)
}
pub fn crimson() -> Color {
    rgb8(220, 20, 60)
}
pub fn cyan() -> Color {
    rgb8(0, 255, 255)
}
pub fn dark_blue() -> Color {
    rgb8(0, 0, 139)
}
pub fn dark_cyan() -> Color {
    rgb8(0, 139, 139)
}
pub fn dark_goldenrod() -> Color {
    rgb8(184, 134, 11)
}
pub fn dark_gray() -> Color {
    rgb8(169, 169, 169)
}
pub fn dark_green() -> Color {
    rgb8(0, 100, 0)
}
pub fn dark_grey() -> Color {
    rgb8(169, 169, 169)
}
pub fn dark_khaki() -> Color {
    rgb8(189, 183, 107)
}
pub fn dark_magenta() -> Color {
    rgb8(139, 0, 139)
}
pub fn dark_olive_green() -> Color {
    rgb8(85, 107, 47)
}
pub fn dark_orange() -> Color {
    rgb8(255, 140, 0)
}
pub fn dark_orchid() -> Color {
    rgb8(153, 50, 204)
}
pub fn dark_red() -> Color {
    rgb8(139, 0, 0)
}
pub fn dark_salmon() -> Color {
    rgb8(233, 150, 122)
}
pub fn dark_sea_green() -> Color {
    rgb8(143, 188, 143)
}
pub fn dark_slate_blue() -> Color {
    rgb8(72, 61, 139)
}
pub fn dark_slate_gray() -> Color {
    rgb8(47, 79, 79)
}
pub fn dark_slate_grey() -> Color {
    rgb8(47, 79, 79)
}
pub fn dark_turquoise() -> Color {
    rgb8(0, 206, 209)
}
pub fn dark_violet() -> Color {
    rgb8(148, 0, 211)
}
pub fn deep_pink() -> Color {
    rgb8(255, 20, 147)
}
pub fn deep_sky_blue() -> Color {
    rgb8(0, 191, 255)
}
pub fn dim_gray() -> Color {
    rgb8(105, 105, 105)
}
pub fn dim_grey() -> Color {
    rgb8(105, 105, 105)
}
pub fn dodger_blue() -> Color {
    rgb8(30, 144, 255)
}
pub fn firebrick() -> Color {
    rgb8(178, 34, 34)
}
pub fn floral_white() -> Color {
    rgb8(255, 250, 240)
}
pub fn forest_green() -> Color {
    rgb8(34, 139, 34)
}
pub fn fuchsia() -> Color {
    rgb8(255, 0, 255)
}
pub fn gainsboro() -> Color {
    rgb8(220, 220, 220)
}
pub fn ghost_white() -> Color {
    rgb8(248, 248, 255)
}
pub fn gold() -> Color {
    rgb8(255, 215, 0)
}
pub fn goldenrod() -> Color {
    rgb8(218, 165, 32)
}
pub fn gray() -> Color {
    rgb8(128, 128, 128)
}
pub fn green() -> Color {
    rgb8(0, 128, 0)
}
pub fn green_yellow() -> Color {
    rgb8(173, 255, 47)
}
pub fn grey() -> Color {
    rgb8(128, 128, 128)
}
pub fn honeydew() -> Color {
    rgb8(240, 255, 240)
}
pub fn hot_pink() -> Color {
    rgb8(255, 105, 180)
}
pub fn indian_red() -> Color {
    rgb8(205, 92, 92)
}
pub fn indigo() -> Color {
    rgb8(75, 0, 130)
}
pub fn ivory() -> Color {
    rgb8(255, 255, 240)
}
pub fn khaki() -> Color {
    rgb8(240, 230, 140)
}
pub fn lavender() -> Color {
    rgb8(230, 230, 250)
}
pub fn lavender_blush() -> Color {
    rgb8(255, 240, 245)
}
pub fn lawn_green() -> Color {
    rgb8(124, 252, 0)
}
pub fn lemon_chiffon() -> Color {
    rgb8(255, 250, 205)
}
pub fn light_blue() -> Color {
    rgb8(173, 216, 230)
}
pub fn light_coral() -> Color {
    rgb8(240, 128, 128)
}
pub fn light_cyan() -> Color {
    rgb8(224, 255, 255)
}
pub fn light_goldenrod_yellow() -> Color {
    rgb8(250, 250, 210)
}
pub fn light_gray() -> Color {
    rgb8(211, 211, 211)
}
pub fn light_green() -> Color {
    rgb8(144, 238, 144)
}
pub fn light_grey() -> Color {
    rgb8(211, 211, 211)
}
pub fn light_pink() -> Color {
    rgb8(255, 182, 193)
}
pub fn light_salmon() -> Color {
    rgb8(255, 160, 122)
}
pub fn light_sea_green() -> Color {
    rgb8(32, 178, 170)
}
pub fn light_sky_blue() -> Color {
    rgb8(135, 206, 250)
}
pub fn light_slate_gray() -> Color {
    rgb8(119, 136, 153)
}
pub fn light_slate_grey() -> Color {
    rgb8(119, 136, 153)
}
pub fn light_steel_blue() -> Color {
    rgb8(176, 196, 222)
}
pub fn light_yellow() -> Color {
    rgb8(255, 255, 224)
}
pub fn lime() -> Color {
    rgb8(0, 255, 0)
}
pub fn lime_green() -> Color {
    rgb8(50, 205, 50)
}
pub fn linen() -> Color {
    rgb8(250, 240, 230)
}
pub fn magenta() -> Color {
    rgb8(255, 0, 255)
}
pub fn maroon() -> Color {
    rgb8(128, 0, 0)
}
pub fn medium_aquamarine() -> Color {
    rgb8(102, 205, 170)
}
pub fn medium_blue() -> Color {
    rgb8(0, 0, 205)
}
pub fn medium_orchid() -> Color {
    rgb8(186, 85, 211)
}
pub fn medium_purple() -> Color {
    rgb8(147, 112, 219)
}
pub fn medium_sea_green() -> Color {
    rgb8(60, 179, 113)
}
pub fn medium_slate_blue() -> Color {
    rgb8(123, 104, 238)
}
pub fn medium_spring_green() -> Color {
    rgb8(0, 250, 154)
}
pub fn medium_turquoise() -> Color {
    rgb8(72, 209, 204)
}
pub fn medium_violet_red() -> Color {
    rgb8(199, 21, 133)
}
pub fn midnight_blue() -> Color {
    rgb8(25, 25, 112)
}
pub fn mint_cream() -> Color {
    rgb8(245, 255, 250)
}
pub fn misty_rose() -> Color {
    rgb8(255, 228, 225)
}
pub fn moccasin() -> Color {
    rgb8(255, 228, 181)
}
pub fn navajo_white() -> Color {
    rgb8(255, 222, 173)
}
pub fn navy() -> Color {
    rgb8(0, 0, 128)
}
pub fn old_lace() -> Color {
    rgb8(253, 245, 230)
}
pub fn olive() -> Color {
    rgb8(128, 128, 0)
}
pub fn olive_drab() -> Color {
    rgb8(107, 142, 35)
}
pub fn orange() -> Color {
    rgb8(255, 165, 0)
}
pub fn orange_red() -> Color {
    rgb8(255, 69, 0)
}
pub fn orchid() -> Color {
    rgb8(218, 112, 214)
}
pub fn pale_goldenrod() -> Color {
    rgb8(238, 232, 170)
}
pub fn pale_green() -> Color {
    rgb8(152, 251, 152)
}
pub fn pale_turquoise() -> Color {
    rgb8(175, 238, 238)
}
pub fn pale_violet_red() -> Color {
    rgb8(219, 112, 147)
}
pub fn papaya_whip() -> Color {
    rgb8(255, 239, 213)
}
pub fn peach_puff() -> Color {
    rgb8(255, 218, 185)
}
pub fn peru() -> Color {
    rgb8(205, 133, 63)
}
pub fn pink() -> Color {
    rgb8(255, 192, 203)
}
pub fn plum() -> Color {
    rgb8(221, 160, 221)
}
pub fn powder_blue() -> Color {
    rgb8(176, 224, 230)
}
pub fn purple() -> Color {
    rgb8(128, 0, 128)
}
pub fn rebecca_purple() -> Color {
    rgb8(102, 51, 153)
}
pub fn red() -> Color {
    rgb8(255, 0, 0)
}
pub fn rosy_brown() -> Color {
    rgb8(188, 143, 143)
}
pub fn royal_blue() -> Color {
    rgb8(65, 105, 225)
}
pub fn saddle_brown() -> Color {
    rgb8(139, 69, 19)
}
pub fn salmon() -> Color {
    rgb8(250, 128, 114)
}
pub fn sandy_brown() -> Color {
    rgb8(244, 164, 96)
}
pub fn sea_green() -> Color {
    rgb8(46, 139, 87)
}
pub fn seashell() -> Color {
    rgb8(255, 245, 238)
}
pub fn sienna() -> Color {
    rgb8(160, 82, 45)
}
pub fn silver() -> Color {
    rgb8(192, 192, 192)
}
pub fn sky_blue() -> Color {
    rgb8(135, 206, 235)
}
pub fn slate_blue() -> Color {
    rgb8(106, 90, 205)
}
pub fn slate_gray() -> Color {
    rgb8(112, 128, 144)
}
pub fn slate_grey() -> Color {
    rgb8(112, 128, 144)
}
pub fn snow() -> Color {
    rgb8(255, 250, 250)
}
pub fn spring_green() -> Color {
    rgb8(0, 255, 127)
}
pub fn steel_blue() -> Color {
    rgb8(70, 130, 180)
}
pub fn tan() -> Color {
    rgb8(210, 180, 140)
}
pub fn teal() -> Color {
    rgb8(0, 128, 128)
}
pub fn thistle() -> Color {
    rgb8(216, 191, 216)
}
pub fn tomato() -> Color {
    rgb8(255, 99, 71)
}
pub fn turquoise() -> Color {
    rgb8(64, 224, 208)
}
pub fn violet() -> Color {
    rgb8(238, 130, 238)
}
pub fn wheat() -> Color {
    rgb8(245, 222, 179)
}
pub fn white() -> Color {
    rgb8(255, 255, 255)
}
pub fn white_smoke() -> Color {
    rgb8(245, 245, 245)
}
pub fn yellow() -> Color {
    rgb8(255, 255, 0)
}
pub fn yellow_green() -> Color {
    rgb8(154, 205, 50)
}