1pub struct ColorTool;
2
3impl ColorTool {
4 pub fn new() -> Self {
5 Self
6 }
7
8 pub fn alice_blue(&self) -> &'static str {
9 "#F0F8FF"
10 }
11
12 pub fn antique_white(&self) -> &'static str {
13 "#FAEBD7"
14 }
15
16 pub fn aqua(&self) -> &'static str {
17 "#00FFFF"
18 }
19
20 pub fn aquamarine(&self) -> &'static str {
21 "#7FFFD4"
22 }
23
24 pub fn azure(&self) -> &'static str {
25 "#F0FFFF"
26 }
27
28 pub fn beige(&self) -> &'static str {
29 "#F5F5DC"
30 }
31
32 pub fn bisque(&self) -> &'static str {
33 "#FFE4C4"
34 }
35
36 pub fn black(&self) -> &'static str {
37 "#000000"
38 }
39
40 pub fn blanched_almond(&self) -> &'static str {
41 "#FFEBCD"
42 }
43
44 pub fn blue(&self) -> &'static str {
45 "#0000FF"
46 }
47
48 pub fn blue_violet(&self) -> &'static str {
49 "#8A2BE2"
50 }
51
52 pub fn brown(&self) -> &'static str {
53 "#A52A2A"
54 }
55
56 pub fn burly_wood(&self) -> &'static str {
57 "#DEB887"
58 }
59
60 pub fn cadet_blue(&self) -> &'static str {
61 "#5F9EA0"
62 }
63
64 pub fn chartreuse(&self) -> &'static str {
65 "#7FFF00"
66 }
67
68 pub fn chocolate(&self) -> &'static str {
69 "#D2691E"
70 }
71
72 pub fn coral(&self) -> &'static str {
73 "#FF7F50"
74 }
75
76 pub fn cornflower_blue(&self) -> &'static str {
77 "#6495ED"
78 }
79
80 pub fn cornsilk(&self) -> &'static str {
81 "#FFF8DC"
82 }
83
84 pub fn crimson(&self) -> &'static str {
85 "#DC143C"
86 }
87
88 pub fn cyan(&self) -> &'static str {
89 "#00FFFF"
90 }
91
92 pub fn dark_blue(&self) -> &'static str {
93 "#00008B"
94 }
95
96 pub fn dark_cyan(&self) -> &'static str {
97 "#008B8B"
98 }
99
100 pub fn dark_golden_rod(&self) -> &'static str {
101 "#B8860B"
102 }
103
104 pub fn dark_grey(&self) -> &'static str {
105 "#A9A9A9"
106 }
107
108 pub fn dark_green(&self) -> &'static str {
109 "#006400"
110 }
111
112 pub fn dark_khaki(&self) -> &'static str {
113 "#BDB76B"
114 }
115
116 pub fn dark_magenta(&self) -> &'static str {
117 "#8B008B"
118 }
119
120 pub fn dark_olive_green(&self) -> &'static str {
121 "#556B2F"
122 }
123
124 pub fn darkorange(&self) -> &'static str {
125 "#FF8C00"
126 }
127
128 pub fn dark_orchid(&self) -> &'static str {
129 "#9932CC"
130 }
131
132 pub fn dark_red(&self) -> &'static str {
133 "#8B0000"
134 }
135
136 pub fn dark_salmon(&self) -> &'static str {
137 "#E9967A"
138 }
139
140 pub fn dark_sea_green(&self) -> &'static str {
141 "#8FBC8F"
142 }
143
144 pub fn dark_slate_blue(&self) -> &'static str {
145 "#483D8B"
146 }
147
148 pub fn dark_slate_grey(&self) -> &'static str {
149 "#2F4F4F"
150 }
151
152 pub fn dark_turquoise(&self) -> &'static str {
153 "#00CED1"
154 }
155
156 pub fn dark_violet(&self) -> &'static str {
157 "#9400D3"
158 }
159
160 pub fn deep_pink(&self) -> &'static str {
161 "#FF1493"
162 }
163
164 pub fn deep_sky_blue(&self) -> &'static str {
165 "#00BFFF"
166 }
167
168 pub fn dim_gray(&self) -> &'static str {
169 "#696969"
170 }
171
172 pub fn dodger_blue(&self) -> &'static str {
173 "#1E90FF"
174 }
175
176 pub fn fire_brick(&self) -> &'static str {
177 "#B22222"
178 }
179
180 pub fn floral_white(&self) -> &'static str {
181 "#FFFAF0"
182 }
183
184 pub fn forest_green(&self) -> &'static str {
185 "#228B22"
186 }
187
188 pub fn fuchsia(&self) -> &'static str {
189 "#FF00FF"
190 }
191
192 pub fn gainsboro(&self) -> &'static str {
193 "#DCDCDC"
194 }
195
196 pub fn ghost_white(&self) -> &'static str {
197 "#F8F8FF"
198 }
199
200 pub fn gold(&self) -> &'static str {
201 "#FFD700"
202 }
203
204 pub fn golden_rod(&self) -> &'static str {
205 "#DAA520"
206 }
207
208 pub fn grey(&self) -> &'static str {
209 "#808080"
210 }
211
212 pub fn green(&self) -> &'static str {
213 "#008000"
214 }
215
216 pub fn green_yellow(&self) -> &'static str {
217 "#ADFF2F"
218 }
219
220 pub fn honey_dew(&self) -> &'static str {
221 "#F0FFF0"
222 }
223
224 pub fn hot_pink(&self) -> &'static str {
225 "#FF69B4"
226 }
227
228 pub fn indian_red(&self) -> &'static str {
229 "#CD5C5C"
230 }
231
232 pub fn indigo(&self) -> &'static str {
233 "#4B0082"
234 }
235
236 pub fn ivory(&self) -> &'static str {
237 "#FFFFF0"
238 }
239
240 pub fn khaki(&self) -> &'static str {
241 "#F0E68C"
242 }
243
244 pub fn lavender(&self) -> &'static str {
245 "#E6E6FA"
246 }
247
248 pub fn lavender_blush(&self) -> &'static str {
249 "#FFF0F5"
250 }
251
252 pub fn lawn_green(&self) -> &'static str {
253 "#7CFC00"
254 }
255
256 pub fn lemon_chiffon(&self) -> &'static str {
257 "#FFFACD"
258 }
259
260 pub fn light_blue(&self) -> &'static str {
261 "#ADD8E6"
262 }
263
264 pub fn light_coral(&self) -> &'static str {
265 "#F08080"
266 }
267
268 pub fn light_cyan(&self) -> &'static str {
269 "#E0FFFF"
270 }
271
272 pub fn light_golden_rod_yellow(&self) -> &'static str {
273 "#FAFAD2"
274 }
275
276 pub fn light_grey(&self) -> &'static str {
277 "#D3D3D3"
278 }
279
280 pub fn light_green(&self) -> &'static str {
281 "#90EE90"
282 }
283
284 pub fn light_pink(&self) -> &'static str {
285 "#FFB6C1"
286 }
287
288 pub fn light_salmon(&self) -> &'static str {
289 "#FFA07A"
290 }
291
292 pub fn light_sea_green(&self) -> &'static str {
293 "#20B2AA"
294 }
295
296 pub fn light_sky_blue(&self) -> &'static str {
297 "#87CEFA"
298 }
299
300 pub fn light_slate_grey(&self) -> &'static str {
301 "#778899"
302 }
303
304 pub fn light_steel_blue(&self) -> &'static str {
305 "#B0C4DE"
306 }
307
308 pub fn light_yellow(&self) -> &'static str {
309 "#FFFFE0"
310 }
311
312 pub fn lime(&self) -> &'static str {
313 "#00FF00"
314 }
315
316 pub fn lime_green(&self) -> &'static str {
317 "#32CD32"
318 }
319
320 pub fn linen(&self) -> &'static str {
321 "#FAF0E6"
322 }
323
324 pub fn magenta(&self) -> &'static str {
325 "#FF00FF"
326 }
327
328 pub fn maroon(&self) -> &'static str {
329 "#800000"
330 }
331
332 pub fn medium_aqua_marine(&self) -> &'static str {
333 "#66CDAA"
334 }
335
336 pub fn medium_blue(&self) -> &'static str {
337 "#0000CD"
338 }
339
340 pub fn medium_orchid(&self) -> &'static str {
341 "#BA55D3"
342 }
343
344 pub fn medium_purple(&self) -> &'static str {
345 "#9370D8"
346 }
347
348 pub fn medium_sea_green(&self) -> &'static str {
349 "#3CB371"
350 }
351
352 pub fn medium_slate_blue(&self) -> &'static str {
353 "#7B68EE"
354 }
355
356 pub fn medium_spring_green(&self) -> &'static str {
357 "#00FA9A"
358 }
359
360 pub fn medium_turquoise(&self) -> &'static str {
361 "#48D1CC"
362 }
363
364 pub fn medium_violet_red(&self) -> &'static str {
365 "#C71585"
366 }
367
368 pub fn midnight_blue(&self) -> &'static str {
369 "#191970"
370 }
371
372 pub fn mint_cream(&self) -> &'static str {
373 "#F5FFFA"
374 }
375
376 pub fn misty_rose(&self) -> &'static str {
377 "#FFE4E1"
378 }
379
380 pub fn moccasin(&self) -> &'static str {
381 "#FFE4B5"
382 }
383
384 pub fn navajo_white(&self) -> &'static str {
385 "#FFDEAD"
386 }
387
388 pub fn navy(&self) -> &'static str {
389 "#000080"
390 }
391
392 pub fn old_lace(&self) -> &'static str {
393 "#FDF5E6"
394 }
395
396 pub fn olive(&self) -> &'static str {
397 "#808000"
398 }
399
400 pub fn olive_drab(&self) -> &'static str {
401 "#6B8E23"
402 }
403
404 pub fn orange(&self) -> &'static str {
405 "#FFA500"
406 }
407
408 pub fn orange_red(&self) -> &'static str {
409 "#FF4500"
410 }
411
412 pub fn orchid(&self) -> &'static str {
413 "#DA70D6"
414 }
415
416 pub fn pale_golden_rod(&self) -> &'static str {
417 "#EEE8AA"
418 }
419
420 pub fn pale_green(&self) -> &'static str {
421 "#98FB98"
422 }
423
424 pub fn pale_turquoise(&self) -> &'static str {
425 "#AFEEEE"
426 }
427
428 pub fn pale_violet_red(&self) -> &'static str {
429 "#D87093"
430 }
431
432 pub fn papaya_whip(&self) -> &'static str {
433 "#FFEFD5"
434 }
435
436 pub fn peach_puff(&self) -> &'static str {
437 "#FFDAB9"
438 }
439
440 pub fn peru(&self) -> &'static str {
441 "#CD853F"
442 }
443
444 pub fn pink(&self) -> &'static str {
445 "#FFC0CB"
446 }
447
448 pub fn plum(&self) -> &'static str {
449 "#DDA0DD"
450 }
451
452 pub fn powder_blue(&self) -> &'static str {
453 "#B0E0E6"
454 }
455
456 pub fn purple(&self) -> &'static str {
457 "#800080"
458 }
459
460 pub fn red(&self) -> &'static str {
461 "#FF0000"
462 }
463
464 pub fn rosy_brown(&self) -> &'static str {
465 "#BC8F8F"
466 }
467
468 pub fn royal_blue(&self) -> &'static str {
469 "#4169E1"
470 }
471
472 pub fn saddle_brown(&self) -> &'static str {
473 "#8B4513"
474 }
475
476 pub fn salmon(&self) -> &'static str {
477 "#FA8072"
478 }
479
480 pub fn sandy_brown(&self) -> &'static str {
481 "#F4A460"
482 }
483
484 pub fn sea_green(&self) -> &'static str {
485 "#2E8B57"
486 }
487
488 pub fn sea_shell(&self) -> &'static str {
489 "#FFF5EE"
490 }
491
492 pub fn sienna(&self) -> &'static str {
493 "#A0522D"
494 }
495
496 pub fn silver(&self) -> &'static str {
497 "#C0C0C0"
498 }
499
500 pub fn sky_blue(&self) -> &'static str {
501 "#87CEEB"
502 }
503
504 pub fn slate_blue(&self) -> &'static str {
505 "#6A5ACD"
506 }
507
508 pub fn slate_grey(&self) -> &'static str {
509 "#708090"
510 }
511
512 pub fn snow(&self) -> &'static str {
513 "#FFFAFA"
514 }
515
516 pub fn spring_green(&self) -> &'static str {
517 "#00FF7F"
518 }
519
520 pub fn steel_blue(&self) -> &'static str {
521 "#4682B4"
522 }
523
524 pub fn tan(&self) -> &'static str {
525 "#D2B48C"
526 }
527
528 pub fn teal(&self) -> &'static str {
529 "#008080"
530 }
531
532 pub fn thistle(&self) -> &'static str {
533 "#D8BFD8"
534 }
535
536 pub fn tomato(&self) -> &'static str {
537 "#FF6347"
538 }
539
540 pub fn turquoise(&self) -> &'static str {
541 "#40E0D0"
542 }
543
544 pub fn violet(&self) -> &'static str {
545 "#EE82EE"
546 }
547
548 pub fn wheat(&self) -> &'static str {
549 "#F5DEB3"
550 }
551
552 pub fn white(&self) -> &'static str {
553 "#FFFFFF"
554 }
555
556 pub fn white_smoke(&self) -> &'static str {
557 "#F5F5F5"
558 }
559
560 pub fn yellow(&self) -> &'static str {
561 "#FFFF00"
562 }
563
564 pub fn yellow_green(&self) -> &'static str {
565 "#9ACD32"
566 }
567}
568
569impl Default for ColorTool {
570 fn default() -> Self {
571 Self::new()
572 }
573}