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