1//! A full color palette derived from the
2//! [Material Design 2014 Color Palette](https://material.io/design/color/the-color-system.html).
3//! Colors are chosen to go well with each other, and each color is available in several tints,
4//! ranging from 50 (very light) to 900 (very dark). A tint of 500 is considered "standard". Color's whose tint starts
5//! with an 'A' (for example [`RED_A400`]) are *accent* colors and are more saturated than their
6//! standard counterparts.
7//!
8//! See the full list of colors defined in this module:
9//!
10//! <img src="https://plotters-rs.github.io/plotters-doc-data/full_palette.png"></img>
11use super::RGBColor;
12
13/*
14Colors were auto-generated from the Material-UI color palette using the following
15Javascript code. It can be run in a code sandbox here: https://codesandbox.io/s/q9nj9o6o44?file=/index.js
16
17///////////////////////////////////////////////////////
18import React from "react";
19import { render } from "react-dom";
20import * as c from "material-ui/colors";
21
22function capitalize(name) {
23 return name.charAt(0).toUpperCase() + name.slice(1);
24}
25
26function kebabize(str) {
27 return str
28 .split("")
29 .map((letter, idx) => {
30 return letter.toUpperCase() === letter
31 ? `${idx !== 0 ? " " : ""}${letter.toLowerCase()}`
32 : letter;
33 })
34 .join("");
35}
36
37function hexToRgb(hex) {
38 var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
39 return result
40 ? {
41 r: parseInt(result[1], 16),
42 g: parseInt(result[2], 16),
43 b: parseInt(result[3], 16)
44 }
45 : null;
46}
47
48function ColorList() {
49 const colorNames = Object.keys(c);
50
51 return (
52 <pre>
53 {colorNames.map((name, i) => (
54 <div key={i}>
55 {"//"} {name}
56 <div>
57 {(() => {
58 const rustName = name.toUpperCase();
59 const cvalue = c[name][500];
60 const color = hexToRgb(cvalue);
61 if (color == null) {
62 return "";
63 }
64 let docComment = `*${capitalize(kebabize(name))}*; same as [\`${rustName}_500\`]`;
65 return `define_color!(${rustName}, ${color.r}, ${color.g}, ${color.b}, "${docComment}");`;
66 })()}
67 </div>
68 {Object.entries(c[name]).map(([cname, cvalue]) => {
69 const color = hexToRgb(cvalue);
70 if (color == null) {
71 return "";
72 }
73 const rustName = `${name.toUpperCase()}_${cname}`;
74 const adjective =
75 cname > 500
76 ? cname >= 800
77 ? "Dark "
78 : "Darker "
79 : cname < 500
80 ? cname <= 100
81 ? "Light "
82 : "Lighter "
83 : "";
84 const readableName = kebabize(name);
85 let docComment = `${adjective}*${
86 adjective ? readableName : capitalize(readableName)
87 }* with a tint of ${cname}`;
88 if (cname.charAt(0) === "A") {
89 docComment =
90 "Accent *" +
91 docComment.charAt(1).toLowerCase() +
92 docComment.slice(2);
93 }
94 return (
95 <div key={cname}>
96 define_color!({rustName}, {color.r}, {color.g}, {color.b}, "
97 {docComment}");
98 </div>
99 );
100 })}
101 </div>
102 ))}
103 </pre>
104 );
105}
106
107render(<ColorList />, document.querySelector("#root"));
108///////////////////////////////////////////////////////
109*/
110
111// common
112define_color!(WHITE, 255, 255, 255, "*White*");
113define_color!(BLACK, 0, 0, 0, "*Black*");
114// red
115define_color!(RED, 244, 67, 54, "*Red*; same as [`RED_500`]");
116define_color!(RED_50, 255, 235, 238, "Light *red* with a tint of 50");
117define_color!(RED_100, 255, 205, 210, "Light *red* with a tint of 100");
118define_color!(RED_200, 239, 154, 154, "Lighter *red* with a tint of 200");
119define_color!(RED_300, 229, 115, 115, "Lighter *red* with a tint of 300");
120define_color!(RED_400, 239, 83, 80, "Lighter *red* with a tint of 400");
121define_color!(RED_500, 244, 67, 54, "*Red* with a tint of 500");
122define_color!(RED_600, 229, 57, 53, "Darker *red* with a tint of 600");
123define_color!(RED_700, 211, 47, 47, "Darker *red* with a tint of 700");
124define_color!(RED_800, 198, 40, 40, "Dark *red* with a tint of 800");
125define_color!(RED_900, 183, 28, 28, "Dark *red* with a tint of 900");
126define_color!(RED_A100, 255, 138, 128, "Accent *red* with a tint of A100");
127define_color!(RED_A200, 255, 82, 82, "Accent *red* with a tint of A200");
128define_color!(RED_A400, 255, 23, 68, "Accent *red* with a tint of A400");
129define_color!(RED_A700, 213, 0, 0, "Accent *red* with a tint of A700");
130// pink
131define_color!(PINK, 233, 30, 99, "*Pink*; same as [`PINK_500`]");
132define_color!(PINK_50, 252, 228, 236, "Light *pink* with a tint of 50");
133define_color!(PINK_100, 248, 187, 208, "Light *pink* with a tint of 100");
134define_color!(PINK_200, 244, 143, 177, "Lighter *pink* with a tint of 200");
135define_color!(PINK_300, 240, 98, 146, "Lighter *pink* with a tint of 300");
136define_color!(PINK_400, 236, 64, 122, "Lighter *pink* with a tint of 400");
137define_color!(PINK_500, 233, 30, 99, "*Pink* with a tint of 500");
138define_color!(PINK_600, 216, 27, 96, "Darker *pink* with a tint of 600");
139define_color!(PINK_700, 194, 24, 91, "Darker *pink* with a tint of 700");
140define_color!(PINK_800, 173, 20, 87, "Dark *pink* with a tint of 800");
141define_color!(PINK_900, 136, 14, 79, "Dark *pink* with a tint of 900");
142define_color!(
143 PINK_A100,
144 255,
145 128,
146 171,
147 "Accent *pink* with a tint of A100"
148);
149define_color!(PINK_A200, 255, 64, 129, "Accent *pink* with a tint of A200");
150define_color!(PINK_A400, 245, 0, 87, "Accent *pink* with a tint of A400");
151define_color!(PINK_A700, 197, 17, 98, "Accent *pink* with a tint of A700");
152// purple
153define_color!(PURPLE, 156, 39, 176, "*Purple*; same as [`PURPLE_500`]");
154define_color!(PURPLE_50, 243, 229, 245, "Light *purple* with a tint of 50");
155define_color!(
156 PURPLE_100,
157 225,
158 190,
159 231,
160 "Light *purple* with a tint of 100"
161);
162define_color!(
163 PURPLE_200,
164 206,
165 147,
166 216,
167 "Lighter *purple* with a tint of 200"
168);
169define_color!(
170 PURPLE_300,
171 186,
172 104,
173 200,
174 "Lighter *purple* with a tint of 300"
175);
176define_color!(
177 PURPLE_400,
178 171,
179 71,
180 188,
181 "Lighter *purple* with a tint of 400"
182);
183define_color!(PURPLE_500, 156, 39, 176, "*Purple* with a tint of 500");
184define_color!(
185 PURPLE_600,
186 142,
187 36,
188 170,
189 "Darker *purple* with a tint of 600"
190);
191define_color!(
192 PURPLE_700,
193 123,
194 31,
195 162,
196 "Darker *purple* with a tint of 700"
197);
198define_color!(PURPLE_800, 106, 27, 154, "Dark *purple* with a tint of 800");
199define_color!(PURPLE_900, 74, 20, 140, "Dark *purple* with a tint of 900");
200define_color!(
201 PURPLE_A100,
202 234,
203 128,
204 252,
205 "Accent *purple* with a tint of A100"
206);
207define_color!(
208 PURPLE_A200,
209 224,
210 64,
211 251,
212 "Accent *purple* with a tint of A200"
213);
214define_color!(
215 PURPLE_A400,
216 213,
217 0,
218 249,
219 "Accent *purple* with a tint of A400"
220);
221define_color!(
222 PURPLE_A700,
223 170,
224 0,
225 255,
226 "Accent *purple* with a tint of A700"
227);
228// deepPurple
229define_color!(
230 DEEPPURPLE,
231 103,
232 58,
233 183,
234 "*Deep purple*; same as [`DEEPPURPLE_500`]"
235);
236define_color!(
237 DEEPPURPLE_50,
238 237,
239 231,
240 246,
241 "Light *deep purple* with a tint of 50"
242);
243define_color!(
244 DEEPPURPLE_100,
245 209,
246 196,
247 233,
248 "Light *deep purple* with a tint of 100"
249);
250define_color!(
251 DEEPPURPLE_200,
252 179,
253 157,
254 219,
255 "Lighter *deep purple* with a tint of 200"
256);
257define_color!(
258 DEEPPURPLE_300,
259 149,
260 117,
261 205,
262 "Lighter *deep purple* with a tint of 300"
263);
264define_color!(
265 DEEPPURPLE_400,
266 126,
267 87,
268 194,
269 "Lighter *deep purple* with a tint of 400"
270);
271define_color!(
272 DEEPPURPLE_500,
273 103,
274 58,
275 183,
276 "*Deep purple* with a tint of 500"
277);
278define_color!(
279 DEEPPURPLE_600,
280 94,
281 53,
282 177,
283 "Darker *deep purple* with a tint of 600"
284);
285define_color!(
286 DEEPPURPLE_700,
287 81,
288 45,
289 168,
290 "Darker *deep purple* with a tint of 700"
291);
292define_color!(
293 DEEPPURPLE_800,
294 69,
295 39,
296 160,
297 "Dark *deep purple* with a tint of 800"
298);
299define_color!(
300 DEEPPURPLE_900,
301 49,
302 27,
303 146,
304 "Dark *deep purple* with a tint of 900"
305);
306define_color!(
307 DEEPPURPLE_A100,
308 179,
309 136,
310 255,
311 "Accent *deep purple* with a tint of A100"
312);
313define_color!(
314 DEEPPURPLE_A200,
315 124,
316 77,
317 255,
318 "Accent *deep purple* with a tint of A200"
319);
320define_color!(
321 DEEPPURPLE_A400,
322 101,
323 31,
324 255,
325 "Accent *deep purple* with a tint of A400"
326);
327define_color!(
328 DEEPPURPLE_A700,
329 98,
330 0,
331 234,
332 "Accent *deep purple* with a tint of A700"
333);
334// indigo
335define_color!(INDIGO, 63, 81, 181, "*Indigo*; same as [`INDIGO_500`]");
336define_color!(INDIGO_50, 232, 234, 246, "Light *indigo* with a tint of 50");
337define_color!(
338 INDIGO_100,
339 197,
340 202,
341 233,
342 "Light *indigo* with a tint of 100"
343);
344define_color!(
345 INDIGO_200,
346 159,
347 168,
348 218,
349 "Lighter *indigo* with a tint of 200"
350);
351define_color!(
352 INDIGO_300,
353 121,
354 134,
355 203,
356 "Lighter *indigo* with a tint of 300"
357);
358define_color!(
359 INDIGO_400,
360 92,
361 107,
362 192,
363 "Lighter *indigo* with a tint of 400"
364);
365define_color!(INDIGO_500, 63, 81, 181, "*Indigo* with a tint of 500");
366define_color!(
367 INDIGO_600,
368 57,
369 73,
370 171,
371 "Darker *indigo* with a tint of 600"
372);
373define_color!(
374 INDIGO_700,
375 48,
376 63,
377 159,
378 "Darker *indigo* with a tint of 700"
379);
380define_color!(INDIGO_800, 40, 53, 147, "Dark *indigo* with a tint of 800");
381define_color!(INDIGO_900, 26, 35, 126, "Dark *indigo* with a tint of 900");
382define_color!(
383 INDIGO_A100,
384 140,
385 158,
386 255,
387 "Accent *indigo* with a tint of A100"
388);
389define_color!(
390 INDIGO_A200,
391 83,
392 109,
393 254,
394 "Accent *indigo* with a tint of A200"
395);
396define_color!(
397 INDIGO_A400,
398 61,
399 90,
400 254,
401 "Accent *indigo* with a tint of A400"
402);
403define_color!(
404 INDIGO_A700,
405 48,
406 79,
407 254,
408 "Accent *indigo* with a tint of A700"
409);
410// blue
411define_color!(BLUE, 33, 150, 243, "*Blue*; same as [`BLUE_500`]");
412define_color!(BLUE_50, 227, 242, 253, "Light *blue* with a tint of 50");
413define_color!(BLUE_100, 187, 222, 251, "Light *blue* with a tint of 100");
414define_color!(BLUE_200, 144, 202, 249, "Lighter *blue* with a tint of 200");
415define_color!(BLUE_300, 100, 181, 246, "Lighter *blue* with a tint of 300");
416define_color!(BLUE_400, 66, 165, 245, "Lighter *blue* with a tint of 400");
417define_color!(BLUE_500, 33, 150, 243, "*Blue* with a tint of 500");
418define_color!(BLUE_600, 30, 136, 229, "Darker *blue* with a tint of 600");
419define_color!(BLUE_700, 25, 118, 210, "Darker *blue* with a tint of 700");
420define_color!(BLUE_800, 21, 101, 192, "Dark *blue* with a tint of 800");
421define_color!(BLUE_900, 13, 71, 161, "Dark *blue* with a tint of 900");
422define_color!(
423 BLUE_A100,
424 130,
425 177,
426 255,
427 "Accent *blue* with a tint of A100"
428);
429define_color!(BLUE_A200, 68, 138, 255, "Accent *blue* with a tint of A200");
430define_color!(BLUE_A400, 41, 121, 255, "Accent *blue* with a tint of A400");
431define_color!(BLUE_A700, 41, 98, 255, "Accent *blue* with a tint of A700");
432// lightBlue
433define_color!(
434 LIGHTBLUE,
435 3,
436 169,
437 244,
438 "*Light blue*; same as [`LIGHTBLUE_500`]"
439);
440define_color!(
441 LIGHTBLUE_50,
442 225,
443 245,
444 254,
445 "Light *light blue* with a tint of 50"
446);
447define_color!(
448 LIGHTBLUE_100,
449 179,
450 229,
451 252,
452 "Light *light blue* with a tint of 100"
453);
454define_color!(
455 LIGHTBLUE_200,
456 129,
457 212,
458 250,
459 "Lighter *light blue* with a tint of 200"
460);
461define_color!(
462 LIGHTBLUE_300,
463 79,
464 195,
465 247,
466 "Lighter *light blue* with a tint of 300"
467);
468define_color!(
469 LIGHTBLUE_400,
470 41,
471 182,
472 246,
473 "Lighter *light blue* with a tint of 400"
474);
475define_color!(
476 LIGHTBLUE_500,
477 3,
478 169,
479 244,
480 "*Light blue* with a tint of 500"
481);
482define_color!(
483 LIGHTBLUE_600,
484 3,
485 155,
486 229,
487 "Darker *light blue* with a tint of 600"
488);
489define_color!(
490 LIGHTBLUE_700,
491 2,
492 136,
493 209,
494 "Darker *light blue* with a tint of 700"
495);
496define_color!(
497 LIGHTBLUE_800,
498 2,
499 119,
500 189,
501 "Dark *light blue* with a tint of 800"
502);
503define_color!(
504 LIGHTBLUE_900,
505 1,
506 87,
507 155,
508 "Dark *light blue* with a tint of 900"
509);
510define_color!(
511 LIGHTBLUE_A100,
512 128,
513 216,
514 255,
515 "Accent *light blue* with a tint of A100"
516);
517define_color!(
518 LIGHTBLUE_A200,
519 64,
520 196,
521 255,
522 "Accent *light blue* with a tint of A200"
523);
524define_color!(
525 LIGHTBLUE_A400,
526 0,
527 176,
528 255,
529 "Accent *light blue* with a tint of A400"
530);
531define_color!(
532 LIGHTBLUE_A700,
533 0,
534 145,
535 234,
536 "Accent *light blue* with a tint of A700"
537);
538// cyan
539define_color!(CYAN, 0, 188, 212, "*Cyan*; same as [`CYAN_500`]");
540define_color!(CYAN_50, 224, 247, 250, "Light *cyan* with a tint of 50");
541define_color!(CYAN_100, 178, 235, 242, "Light *cyan* with a tint of 100");
542define_color!(CYAN_200, 128, 222, 234, "Lighter *cyan* with a tint of 200");
543define_color!(CYAN_300, 77, 208, 225, "Lighter *cyan* with a tint of 300");
544define_color!(CYAN_400, 38, 198, 218, "Lighter *cyan* with a tint of 400");
545define_color!(CYAN_500, 0, 188, 212, "*Cyan* with a tint of 500");
546define_color!(CYAN_600, 0, 172, 193, "Darker *cyan* with a tint of 600");
547define_color!(CYAN_700, 0, 151, 167, "Darker *cyan* with a tint of 700");
548define_color!(CYAN_800, 0, 131, 143, "Dark *cyan* with a tint of 800");
549define_color!(CYAN_900, 0, 96, 100, "Dark *cyan* with a tint of 900");
550define_color!(
551 CYAN_A100,
552 132,
553 255,
554 255,
555 "Accent *cyan* with a tint of A100"
556);
557define_color!(CYAN_A200, 24, 255, 255, "Accent *cyan* with a tint of A200");
558define_color!(CYAN_A400, 0, 229, 255, "Accent *cyan* with a tint of A400");
559define_color!(CYAN_A700, 0, 184, 212, "Accent *cyan* with a tint of A700");
560// teal
561define_color!(TEAL, 0, 150, 136, "*Teal*; same as [`TEAL_500`]");
562define_color!(TEAL_50, 224, 242, 241, "Light *teal* with a tint of 50");
563define_color!(TEAL_100, 178, 223, 219, "Light *teal* with a tint of 100");
564define_color!(TEAL_200, 128, 203, 196, "Lighter *teal* with a tint of 200");
565define_color!(TEAL_300, 77, 182, 172, "Lighter *teal* with a tint of 300");
566define_color!(TEAL_400, 38, 166, 154, "Lighter *teal* with a tint of 400");
567define_color!(TEAL_500, 0, 150, 136, "*Teal* with a tint of 500");
568define_color!(TEAL_600, 0, 137, 123, "Darker *teal* with a tint of 600");
569define_color!(TEAL_700, 0, 121, 107, "Darker *teal* with a tint of 700");
570define_color!(TEAL_800, 0, 105, 92, "Dark *teal* with a tint of 800");
571define_color!(TEAL_900, 0, 77, 64, "Dark *teal* with a tint of 900");
572define_color!(
573 TEAL_A100,
574 167,
575 255,
576 235,
577 "Accent *teal* with a tint of A100"
578);
579define_color!(
580 TEAL_A200,
581 100,
582 255,
583 218,
584 "Accent *teal* with a tint of A200"
585);
586define_color!(TEAL_A400, 29, 233, 182, "Accent *teal* with a tint of A400");
587define_color!(TEAL_A700, 0, 191, 165, "Accent *teal* with a tint of A700");
588// green
589define_color!(GREEN, 76, 175, 80, "*Green*; same as [`GREEN_500`]");
590define_color!(GREEN_50, 232, 245, 233, "Light *green* with a tint of 50");
591define_color!(GREEN_100, 200, 230, 201, "Light *green* with a tint of 100");
592define_color!(
593 GREEN_200,
594 165,
595 214,
596 167,
597 "Lighter *green* with a tint of 200"
598);
599define_color!(
600 GREEN_300,
601 129,
602 199,
603 132,
604 "Lighter *green* with a tint of 300"
605);
606define_color!(
607 GREEN_400,
608 102,
609 187,
610 106,
611 "Lighter *green* with a tint of 400"
612);
613define_color!(GREEN_500, 76, 175, 80, "*Green* with a tint of 500");
614define_color!(GREEN_600, 67, 160, 71, "Darker *green* with a tint of 600");
615define_color!(GREEN_700, 56, 142, 60, "Darker *green* with a tint of 700");
616define_color!(GREEN_800, 46, 125, 50, "Dark *green* with a tint of 800");
617define_color!(GREEN_900, 27, 94, 32, "Dark *green* with a tint of 900");
618define_color!(
619 GREEN_A100,
620 185,
621 246,
622 202,
623 "Accent *green* with a tint of A100"
624);
625define_color!(
626 GREEN_A200,
627 105,
628 240,
629 174,
630 "Accent *green* with a tint of A200"
631);
632define_color!(
633 GREEN_A400,
634 0,
635 230,
636 118,
637 "Accent *green* with a tint of A400"
638);
639define_color!(GREEN_A700, 0, 200, 83, "Accent *green* with a tint of A700");
640// lightGreen
641define_color!(
642 LIGHTGREEN,
643 139,
644 195,
645 74,
646 "*Light green*; same as [`LIGHTGREEN_500`]"
647);
648define_color!(
649 LIGHTGREEN_50,
650 241,
651 248,
652 233,
653 "Light *light green* with a tint of 50"
654);
655define_color!(
656 LIGHTGREEN_100,
657 220,
658 237,
659 200,
660 "Light *light green* with a tint of 100"
661);
662define_color!(
663 LIGHTGREEN_200,
664 197,
665 225,
666 165,
667 "Lighter *light green* with a tint of 200"
668);
669define_color!(
670 LIGHTGREEN_300,
671 174,
672 213,
673 129,
674 "Lighter *light green* with a tint of 300"
675);
676define_color!(
677 LIGHTGREEN_400,
678 156,
679 204,
680 101,
681 "Lighter *light green* with a tint of 400"
682);
683define_color!(
684 LIGHTGREEN_500,
685 139,
686 195,
687 74,
688 "*Light green* with a tint of 500"
689);
690define_color!(
691 LIGHTGREEN_600,
692 124,
693 179,
694 66,
695 "Darker *light green* with a tint of 600"
696);
697define_color!(
698 LIGHTGREEN_700,
699 104,
700 159,
701 56,
702 "Darker *light green* with a tint of 700"
703);
704define_color!(
705 LIGHTGREEN_800,
706 85,
707 139,
708 47,
709 "Dark *light green* with a tint of 800"
710);
711define_color!(
712 LIGHTGREEN_900,
713 51,
714 105,
715 30,
716 "Dark *light green* with a tint of 900"
717);
718define_color!(
719 LIGHTGREEN_A100,
720 204,
721 255,
722 144,
723 "Accent *light green* with a tint of A100"
724);
725define_color!(
726 LIGHTGREEN_A200,
727 178,
728 255,
729 89,
730 "Accent *light green* with a tint of A200"
731);
732define_color!(
733 LIGHTGREEN_A400,
734 118,
735 255,
736 3,
737 "Accent *light green* with a tint of A400"
738);
739define_color!(
740 LIGHTGREEN_A700,
741 100,
742 221,
743 23,
744 "Accent *light green* with a tint of A700"
745);
746// lime
747define_color!(LIME, 205, 220, 57, "*Lime*; same as [`LIME_500`]");
748define_color!(LIME_50, 249, 251, 231, "Light *lime* with a tint of 50");
749define_color!(LIME_100, 240, 244, 195, "Light *lime* with a tint of 100");
750define_color!(LIME_200, 230, 238, 156, "Lighter *lime* with a tint of 200");
751define_color!(LIME_300, 220, 231, 117, "Lighter *lime* with a tint of 300");
752define_color!(LIME_400, 212, 225, 87, "Lighter *lime* with a tint of 400");
753define_color!(LIME_500, 205, 220, 57, "*Lime* with a tint of 500");
754define_color!(LIME_600, 192, 202, 51, "Darker *lime* with a tint of 600");
755define_color!(LIME_700, 175, 180, 43, "Darker *lime* with a tint of 700");
756define_color!(LIME_800, 158, 157, 36, "Dark *lime* with a tint of 800");
757define_color!(LIME_900, 130, 119, 23, "Dark *lime* with a tint of 900");
758define_color!(
759 LIME_A100,
760 244,
761 255,
762 129,
763 "Accent *lime* with a tint of A100"
764);
765define_color!(LIME_A200, 238, 255, 65, "Accent *lime* with a tint of A200");
766define_color!(LIME_A400, 198, 255, 0, "Accent *lime* with a tint of A400");
767define_color!(LIME_A700, 174, 234, 0, "Accent *lime* with a tint of A700");
768// yellow
769define_color!(YELLOW, 255, 235, 59, "*Yellow*; same as [`YELLOW_500`]");
770define_color!(YELLOW_50, 255, 253, 231, "Light *yellow* with a tint of 50");
771define_color!(
772 YELLOW_100,
773 255,
774 249,
775 196,
776 "Light *yellow* with a tint of 100"
777);
778define_color!(
779 YELLOW_200,
780 255,
781 245,
782 157,
783 "Lighter *yellow* with a tint of 200"
784);
785define_color!(
786 YELLOW_300,
787 255,
788 241,
789 118,
790 "Lighter *yellow* with a tint of 300"
791);
792define_color!(
793 YELLOW_400,
794 255,
795 238,
796 88,
797 "Lighter *yellow* with a tint of 400"
798);
799define_color!(YELLOW_500, 255, 235, 59, "*Yellow* with a tint of 500");
800define_color!(
801 YELLOW_600,
802 253,
803 216,
804 53,
805 "Darker *yellow* with a tint of 600"
806);
807define_color!(
808 YELLOW_700,
809 251,
810 192,
811 45,
812 "Darker *yellow* with a tint of 700"
813);
814define_color!(YELLOW_800, 249, 168, 37, "Dark *yellow* with a tint of 800");
815define_color!(YELLOW_900, 245, 127, 23, "Dark *yellow* with a tint of 900");
816define_color!(
817 YELLOW_A100,
818 255,
819 255,
820 141,
821 "Accent *yellow* with a tint of A100"
822);
823define_color!(
824 YELLOW_A200,
825 255,
826 255,
827 0,
828 "Accent *yellow* with a tint of A200"
829);
830define_color!(
831 YELLOW_A400,
832 255,
833 234,
834 0,
835 "Accent *yellow* with a tint of A400"
836);
837define_color!(
838 YELLOW_A700,
839 255,
840 214,
841 0,
842 "Accent *yellow* with a tint of A700"
843);
844// amber
845define_color!(AMBER, 255, 193, 7, "*Amber*; same as [`AMBER_500`]");
846define_color!(AMBER_50, 255, 248, 225, "Light *amber* with a tint of 50");
847define_color!(AMBER_100, 255, 236, 179, "Light *amber* with a tint of 100");
848define_color!(
849 AMBER_200,
850 255,
851 224,
852 130,
853 "Lighter *amber* with a tint of 200"
854);
855define_color!(
856 AMBER_300,
857 255,
858 213,
859 79,
860 "Lighter *amber* with a tint of 300"
861);
862define_color!(
863 AMBER_400,
864 255,
865 202,
866 40,
867 "Lighter *amber* with a tint of 400"
868);
869define_color!(AMBER_500, 255, 193, 7, "*Amber* with a tint of 500");
870define_color!(AMBER_600, 255, 179, 0, "Darker *amber* with a tint of 600");
871define_color!(AMBER_700, 255, 160, 0, "Darker *amber* with a tint of 700");
872define_color!(AMBER_800, 255, 143, 0, "Dark *amber* with a tint of 800");
873define_color!(AMBER_900, 255, 111, 0, "Dark *amber* with a tint of 900");
874define_color!(
875 AMBER_A100,
876 255,
877 229,
878 127,
879 "Accent *amber* with a tint of A100"
880);
881define_color!(
882 AMBER_A200,
883 255,
884 215,
885 64,
886 "Accent *amber* with a tint of A200"
887);
888define_color!(
889 AMBER_A400,
890 255,
891 196,
892 0,
893 "Accent *amber* with a tint of A400"
894);
895define_color!(
896 AMBER_A700,
897 255,
898 171,
899 0,
900 "Accent *amber* with a tint of A700"
901);
902// orange
903define_color!(ORANGE, 255, 152, 0, "*Orange*; same as [`ORANGE_500`]");
904define_color!(ORANGE_50, 255, 243, 224, "Light *orange* with a tint of 50");
905define_color!(
906 ORANGE_100,
907 255,
908 224,
909 178,
910 "Light *orange* with a tint of 100"
911);
912define_color!(
913 ORANGE_200,
914 255,
915 204,
916 128,
917 "Lighter *orange* with a tint of 200"
918);
919define_color!(
920 ORANGE_300,
921 255,
922 183,
923 77,
924 "Lighter *orange* with a tint of 300"
925);
926define_color!(
927 ORANGE_400,
928 255,
929 167,
930 38,
931 "Lighter *orange* with a tint of 400"
932);
933define_color!(ORANGE_500, 255, 152, 0, "*Orange* with a tint of 500");
934define_color!(
935 ORANGE_600,
936 251,
937 140,
938 0,
939 "Darker *orange* with a tint of 600"
940);
941define_color!(
942 ORANGE_700,
943 245,
944 124,
945 0,
946 "Darker *orange* with a tint of 700"
947);
948define_color!(ORANGE_800, 239, 108, 0, "Dark *orange* with a tint of 800");
949define_color!(ORANGE_900, 230, 81, 0, "Dark *orange* with a tint of 900");
950define_color!(
951 ORANGE_A100,
952 255,
953 209,
954 128,
955 "Accent *orange* with a tint of A100"
956);
957define_color!(
958 ORANGE_A200,
959 255,
960 171,
961 64,
962 "Accent *orange* with a tint of A200"
963);
964define_color!(
965 ORANGE_A400,
966 255,
967 145,
968 0,
969 "Accent *orange* with a tint of A400"
970);
971define_color!(
972 ORANGE_A700,
973 255,
974 109,
975 0,
976 "Accent *orange* with a tint of A700"
977);
978// deepOrange
979define_color!(
980 DEEPORANGE,
981 255,
982 87,
983 34,
984 "*Deep orange*; same as [`DEEPORANGE_500`]"
985);
986define_color!(
987 DEEPORANGE_50,
988 251,
989 233,
990 231,
991 "Light *deep orange* with a tint of 50"
992);
993define_color!(
994 DEEPORANGE_100,
995 255,
996 204,
997 188,
998 "Light *deep orange* with a tint of 100"
999);
1000define_color!(
1001 DEEPORANGE_200,
1002 255,
1003 171,
1004 145,
1005 "Lighter *deep orange* with a tint of 200"
1006);
1007define_color!(
1008 DEEPORANGE_300,
1009 255,
1010 138,
1011 101,
1012 "Lighter *deep orange* with a tint of 300"
1013);
1014define_color!(
1015 DEEPORANGE_400,
1016 255,
1017 112,
1018 67,
1019 "Lighter *deep orange* with a tint of 400"
1020);
1021define_color!(
1022 DEEPORANGE_500,
1023 255,
1024 87,
1025 34,
1026 "*Deep orange* with a tint of 500"
1027);
1028define_color!(
1029 DEEPORANGE_600,
1030 244,
1031 81,
1032 30,
1033 "Darker *deep orange* with a tint of 600"
1034);
1035define_color!(
1036 DEEPORANGE_700,
1037 230,
1038 74,
1039 25,
1040 "Darker *deep orange* with a tint of 700"
1041);
1042define_color!(
1043 DEEPORANGE_800,
1044 216,
1045 67,
1046 21,
1047 "Dark *deep orange* with a tint of 800"
1048);
1049define_color!(
1050 DEEPORANGE_900,
1051 191,
1052 54,
1053 12,
1054 "Dark *deep orange* with a tint of 900"
1055);
1056define_color!(
1057 DEEPORANGE_A100,
1058 255,
1059 158,
1060 128,
1061 "Accent *deep orange* with a tint of A100"
1062);
1063define_color!(
1064 DEEPORANGE_A200,
1065 255,
1066 110,
1067 64,
1068 "Accent *deep orange* with a tint of A200"
1069);
1070define_color!(
1071 DEEPORANGE_A400,
1072 255,
1073 61,
1074 0,
1075 "Accent *deep orange* with a tint of A400"
1076);
1077define_color!(
1078 DEEPORANGE_A700,
1079 221,
1080 44,
1081 0,
1082 "Accent *deep orange* with a tint of A700"
1083);
1084// brown
1085define_color!(BROWN, 121, 85, 72, "*Brown*; same as [`BROWN_500`]");
1086define_color!(BROWN_50, 239, 235, 233, "Light *brown* with a tint of 50");
1087define_color!(BROWN_100, 215, 204, 200, "Light *brown* with a tint of 100");
1088define_color!(
1089 BROWN_200,
1090 188,
1091 170,
1092 164,
1093 "Lighter *brown* with a tint of 200"
1094);
1095define_color!(
1096 BROWN_300,
1097 161,
1098 136,
1099 127,
1100 "Lighter *brown* with a tint of 300"
1101);
1102define_color!(
1103 BROWN_400,
1104 141,
1105 110,
1106 99,
1107 "Lighter *brown* with a tint of 400"
1108);
1109define_color!(BROWN_500, 121, 85, 72, "*Brown* with a tint of 500");
1110define_color!(BROWN_600, 109, 76, 65, "Darker *brown* with a tint of 600");
1111define_color!(BROWN_700, 93, 64, 55, "Darker *brown* with a tint of 700");
1112define_color!(BROWN_800, 78, 52, 46, "Dark *brown* with a tint of 800");
1113define_color!(BROWN_900, 62, 39, 35, "Dark *brown* with a tint of 900");
1114define_color!(
1115 BROWN_A100,
1116 215,
1117 204,
1118 200,
1119 "Accent *brown* with a tint of A100"
1120);
1121define_color!(
1122 BROWN_A200,
1123 188,
1124 170,
1125 164,
1126 "Accent *brown* with a tint of A200"
1127);
1128define_color!(
1129 BROWN_A400,
1130 141,
1131 110,
1132 99,
1133 "Accent *brown* with a tint of A400"
1134);
1135define_color!(BROWN_A700, 93, 64, 55, "Accent *brown* with a tint of A700");
1136// grey
1137define_color!(GREY, 158, 158, 158, "*Grey*; same as [`GREY_500`]");
1138define_color!(GREY_50, 250, 250, 250, "Light *grey* with a tint of 50");
1139define_color!(GREY_100, 245, 245, 245, "Light *grey* with a tint of 100");
1140define_color!(GREY_200, 238, 238, 238, "Lighter *grey* with a tint of 200");
1141define_color!(GREY_300, 224, 224, 224, "Lighter *grey* with a tint of 300");
1142define_color!(GREY_400, 189, 189, 189, "Lighter *grey* with a tint of 400");
1143define_color!(GREY_500, 158, 158, 158, "*Grey* with a tint of 500");
1144define_color!(GREY_600, 117, 117, 117, "Darker *grey* with a tint of 600");
1145define_color!(GREY_700, 97, 97, 97, "Darker *grey* with a tint of 700");
1146define_color!(GREY_800, 66, 66, 66, "Dark *grey* with a tint of 800");
1147define_color!(GREY_900, 33, 33, 33, "Dark *grey* with a tint of 900");
1148define_color!(
1149 GREY_A100,
1150 213,
1151 213,
1152 213,
1153 "Accent *grey* with a tint of A100"
1154);
1155define_color!(
1156 GREY_A200,
1157 170,
1158 170,
1159 170,
1160 "Accent *grey* with a tint of A200"
1161);
1162define_color!(GREY_A400, 48, 48, 48, "Accent *grey* with a tint of A400");
1163define_color!(GREY_A700, 97, 97, 97, "Accent *grey* with a tint of A700");
1164// blueGrey
1165define_color!(
1166 BLUEGREY,
1167 96,
1168 125,
1169 139,
1170 "*Blue grey*; same as [`BLUEGREY_500`]"
1171);
1172define_color!(
1173 BLUEGREY_50,
1174 236,
1175 239,
1176 241,
1177 "Light *blue grey* with a tint of 50"
1178);
1179define_color!(
1180 BLUEGREY_100,
1181 207,
1182 216,
1183 220,
1184 "Light *blue grey* with a tint of 100"
1185);
1186define_color!(
1187 BLUEGREY_200,
1188 176,
1189 190,
1190 197,
1191 "Lighter *blue grey* with a tint of 200"
1192);
1193define_color!(
1194 BLUEGREY_300,
1195 144,
1196 164,
1197 174,
1198 "Lighter *blue grey* with a tint of 300"
1199);
1200define_color!(
1201 BLUEGREY_400,
1202 120,
1203 144,
1204 156,
1205 "Lighter *blue grey* with a tint of 400"
1206);
1207define_color!(BLUEGREY_500, 96, 125, 139, "*Blue grey* with a tint of 500");
1208define_color!(
1209 BLUEGREY_600,
1210 84,
1211 110,
1212 122,
1213 "Darker *blue grey* with a tint of 600"
1214);
1215define_color!(
1216 BLUEGREY_700,
1217 69,
1218 90,
1219 100,
1220 "Darker *blue grey* with a tint of 700"
1221);
1222define_color!(
1223 BLUEGREY_800,
1224 55,
1225 71,
1226 79,
1227 "Dark *blue grey* with a tint of 800"
1228);
1229define_color!(
1230 BLUEGREY_900,
1231 38,
1232 50,
1233 56,
1234 "Dark *blue grey* with a tint of 900"
1235);
1236define_color!(
1237 BLUEGREY_A100,
1238 207,
1239 216,
1240 220,
1241 "Accent *blue grey* with a tint of A100"
1242);
1243define_color!(
1244 BLUEGREY_A200,
1245 176,
1246 190,
1247 197,
1248 "Accent *blue grey* with a tint of A200"
1249);
1250define_color!(
1251 BLUEGREY_A400,
1252 120,
1253 144,
1254 156,
1255 "Accent *blue grey* with a tint of A400"
1256);
1257define_color!(
1258 BLUEGREY_A700,
1259 69,
1260 90,
1261 100,
1262 "Accent *blue grey* with a tint of A700"
1263);
1264