use super::Rgba8;

// standard CSS colors
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: rgba(0,0,0,0);"></div>
pub const TRANSPARENT: Rgba8 = Rgba8::new(0, 0, 0, 0);

/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #000000;"></div>
pub const BLACK: Rgba8 = Rgba8::from_hex(b"#000000");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #c0c0c0;"></div>
pub const SILVER: Rgba8 = Rgba8::from_hex(b"#c0c0c0");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #808080;"></div>
pub const GRAY: Rgba8 = Rgba8::from_hex(b"#808080");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffffff;"></div>
pub const WHITE: Rgba8 = Rgba8::from_hex(b"#ffffff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #800000;"></div>
pub const MAROON: Rgba8 = Rgba8::from_hex(b"#800000");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff0000;"></div>
pub const RED: Rgba8 = Rgba8::from_hex(b"#ff0000");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #800080;"></div>
pub const PURPLE: Rgba8 = Rgba8::from_hex(b"#800080");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff00ff;"></div>
pub const FUCHSIA: Rgba8 = Rgba8::from_hex(b"#ff00ff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #008000;"></div>
pub const GREEN: Rgba8 = Rgba8::from_hex(b"#008000");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #00ff00;"></div>
pub const LIME: Rgba8 = Rgba8::from_hex(b"#00ff00");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #808000;"></div>
pub const OLIVE: Rgba8 = Rgba8::from_hex(b"#808000");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffff00;"></div>
pub const YELLOW: Rgba8 = Rgba8::from_hex(b"#ffff00");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #000080;"></div>
pub const NAVY: Rgba8 = Rgba8::from_hex(b"#000080");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #0000ff;"></div>
pub const BLUE: Rgba8 = Rgba8::from_hex(b"#0000ff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #008080;"></div>
pub const TEAL: Rgba8 = Rgba8::from_hex(b"#008080");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #00ffff;"></div>
pub const AQUA: Rgba8 = Rgba8::from_hex(b"#00ffff");

// other named colors
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f0f8ff;"></div>
pub const ALICEBLUE: Rgba8 = Rgba8::from_hex(b"#f0f8ff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #faebd7;"></div>
pub const ANTIQUEWHITE: Rgba8 = Rgba8::from_hex(b"#faebd7");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #7fffd4;"></div>
pub const AQUAMARINE: Rgba8 = Rgba8::from_hex(b"#7fffd4");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f0ffff;"></div>
pub const AZURE: Rgba8 = Rgba8::from_hex(b"#f0ffff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f5f5dc;"></div>
pub const BEIGE: Rgba8 = Rgba8::from_hex(b"#f5f5dc");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffe4c4;"></div>
pub const BISQUE: Rgba8 = Rgba8::from_hex(b"#ffe4c4");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffebcd;"></div>
pub const BLANCHEDALMOND: Rgba8 = Rgba8::from_hex(b"#ffebcd");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #8a2be2;"></div>
pub const BLUEVIOLET: Rgba8 = Rgba8::from_hex(b"#8a2be2");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #a52a2a;"></div>
pub const BROWN: Rgba8 = Rgba8::from_hex(b"#a52a2a");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #deb887;"></div>
pub const BURLYWOOD: Rgba8 = Rgba8::from_hex(b"#deb887");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #5f9ea0;"></div>
pub const CADETBLUE: Rgba8 = Rgba8::from_hex(b"#5f9ea0");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #7fff00;"></div>
pub const CHARTREUSE: Rgba8 = Rgba8::from_hex(b"#7fff00");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #d2691e;"></div>
pub const CHOCOLATE: Rgba8 = Rgba8::from_hex(b"#d2691e");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff7f50;"></div>
pub const CORAL: Rgba8 = Rgba8::from_hex(b"#ff7f50");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #6495ed;"></div>
pub const CORNFLOWERBLUE: Rgba8 = Rgba8::from_hex(b"#6495ed");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fff8dc;"></div>
pub const CORNSILK: Rgba8 = Rgba8::from_hex(b"#fff8dc");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #dc143c;"></div>
pub const CRIMSON: Rgba8 = Rgba8::from_hex(b"#dc143c");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #00ffff;"></div>
pub const CYAN: Rgba8 = AQUA;
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #00008b;"></div>
pub const DARKBLUE: Rgba8 = Rgba8::from_hex(b"#00008b");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #008b8b;"></div>
pub const DARKCYAN: Rgba8 = Rgba8::from_hex(b"#008b8b");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #b8860b;"></div>
pub const DARKGOLDENROD: Rgba8 = Rgba8::from_hex(b"#b8860b");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #a9a9a9;"></div>
pub const DARKGRAY: Rgba8 = Rgba8::from_hex(b"#a9a9a9");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #006400;"></div>
pub const DARKGREEN: Rgba8 = Rgba8::from_hex(b"#006400");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #a9a9a9;"></div>
pub const DARKGREY: Rgba8 = Rgba8::from_hex(b"#a9a9a9");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #bdb76b;"></div>
pub const DARKKHAKI: Rgba8 = Rgba8::from_hex(b"#bdb76b");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #8b008b;"></div>
pub const DARKMAGENTA: Rgba8 = Rgba8::from_hex(b"#8b008b");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #556b2f;"></div>
pub const DARKOLIVEGREEN: Rgba8 = Rgba8::from_hex(b"#556b2f");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff8c00;"></div>
pub const DARKORANGE: Rgba8 = Rgba8::from_hex(b"#ff8c00");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #9932cc;"></div>
pub const DARKORCHID: Rgba8 = Rgba8::from_hex(b"#9932cc");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #8b0000;"></div>
pub const DARKRED: Rgba8 = Rgba8::from_hex(b"#8b0000");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #e9967a;"></div>
pub const DARKSALMON: Rgba8 = Rgba8::from_hex(b"#e9967a");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #8fbc8f;"></div>
pub const DARKSEAGREEN: Rgba8 = Rgba8::from_hex(b"#8fbc8f");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #483d8b;"></div>
pub const DARKSLATEBLUE: Rgba8 = Rgba8::from_hex(b"#483d8b");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #2f4f4f;"></div>
pub const DARKSLATEGRAY: Rgba8 = Rgba8::from_hex(b"#2f4f4f");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #2f4f4f;"></div>
pub const DARKSLATEGREY: Rgba8 = Rgba8::from_hex(b"#2f4f4f");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #00ced1;"></div>
pub const DARKTURQUOISE: Rgba8 = Rgba8::from_hex(b"#00ced1");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #9400d3;"></div>
pub const DARKVIOLET: Rgba8 = Rgba8::from_hex(b"#9400d3");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff1493;"></div>
pub const DEEPPINK: Rgba8 = Rgba8::from_hex(b"#ff1493");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #00bfff;"></div>
pub const DEEPSKYBLUE: Rgba8 = Rgba8::from_hex(b"#00bfff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #696969;"></div>
pub const DIMGRAY: Rgba8 = Rgba8::from_hex(b"#696969");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #696969;"></div>
pub const DIMGREY: Rgba8 = Rgba8::from_hex(b"#696969");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #1e90ff;"></div>
pub const DODGERBLUE: Rgba8 = Rgba8::from_hex(b"#1e90ff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #b22222;"></div>
pub const FIREBRICK: Rgba8 = Rgba8::from_hex(b"#b22222");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fffaf0;"></div>
pub const FLORALWHITE: Rgba8 = Rgba8::from_hex(b"#fffaf0");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #228b22;"></div>
pub const FORESTGREEN: Rgba8 = Rgba8::from_hex(b"#228b22");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #dcdcdc;"></div>
pub const GAINSBORO: Rgba8 = Rgba8::from_hex(b"#dcdcdc");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f8f8ff;"></div>
pub const GHOSTWHITE: Rgba8 = Rgba8::from_hex(b"#f8f8ff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffd700;"></div>
pub const GOLD: Rgba8 = Rgba8::from_hex(b"#ffd700");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #daa520;"></div>
pub const GOLDENROD: Rgba8 = Rgba8::from_hex(b"#daa520");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #adff2f;"></div>
pub const GREENYELLOW: Rgba8 = Rgba8::from_hex(b"#adff2f");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #808080;"></div>
pub const GREY: Rgba8 = GRAY;
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f0fff0;"></div>
pub const HONEYDEW: Rgba8 = Rgba8::from_hex(b"#f0fff0");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff69b4;"></div>
pub const HOTPINK: Rgba8 = Rgba8::from_hex(b"#ff69b4");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #cd5c5c;"></div>
pub const INDIANRED: Rgba8 = Rgba8::from_hex(b"#cd5c5c");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #4b0082;"></div>
pub const INDIGO: Rgba8 = Rgba8::from_hex(b"#4b0082");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fffff0;"></div>
pub const IVORY: Rgba8 = Rgba8::from_hex(b"#fffff0");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f0e68c;"></div>
pub const KHAKI: Rgba8 = Rgba8::from_hex(b"#f0e68c");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #e6e6fa;"></div>
pub const LAVENDER: Rgba8 = Rgba8::from_hex(b"#e6e6fa");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fff0f5;"></div>
pub const LAVENDERBLUSH: Rgba8 = Rgba8::from_hex(b"#fff0f5");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #7cfc00;"></div>
pub const LAWNGREEN: Rgba8 = Rgba8::from_hex(b"#7cfc00");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fffacd;"></div>
pub const LEMONCHIFFON: Rgba8 = Rgba8::from_hex(b"#fffacd");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #add8e6;"></div>
pub const LIGHTBLUE: Rgba8 = Rgba8::from_hex(b"#add8e6");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f08080;"></div>
pub const LIGHTCORAL: Rgba8 = Rgba8::from_hex(b"#f08080");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #e0ffff;"></div>
pub const LIGHTCYAN: Rgba8 = Rgba8::from_hex(b"#e0ffff");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fafad2;"></div>
pub const LIGHTGOLDENRODYELLOW: Rgba8 = Rgba8::from_hex(b"#fafad2");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #d3d3d3;"></div>
pub const LIGHTGRAY: Rgba8 = Rgba8::from_hex(b"#d3d3d3");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #90ee90;"></div>
pub const LIGHTGREEN: Rgba8 = Rgba8::from_hex(b"#90ee90");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #d3d3d3;"></div>
pub const LIGHTGREY: Rgba8 = Rgba8::from_hex(b"#d3d3d3");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffb6c1;"></div>
pub const LIGHTPINK: Rgba8 = Rgba8::from_hex(b"#ffb6c1");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffa07a;"></div>
pub const LIGHTSALMON: Rgba8 = Rgba8::from_hex(b"#ffa07a");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #20b2aa;"></div>
pub const LIGHTSEAGREEN: Rgba8 = Rgba8::from_hex(b"#20b2aa");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #87cefa;"></div>
pub const LIGHTSKYBLUE: Rgba8 = Rgba8::from_hex(b"#87cefa");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #778899;"></div>
pub const LIGHTSLATEGRAY: Rgba8 = Rgba8::from_hex(b"#778899");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #778899;"></div>
pub const LIGHTSLATEGREY: Rgba8 = Rgba8::from_hex(b"#778899");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #b0c4de;"></div>
pub const LIGHTSTEELBLUE: Rgba8 = Rgba8::from_hex(b"#b0c4de");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffffe0;"></div>
pub const LIGHTYELLOW: Rgba8 = Rgba8::from_hex(b"#ffffe0");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #32cd32;"></div>
pub const LIMEGREEN: Rgba8 = Rgba8::from_hex(b"#32cd32");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #faf0e6;"></div>
pub const LINEN: Rgba8 = Rgba8::from_hex(b"#faf0e6");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff00ff;"></div>
pub const MAGENTA: Rgba8 = FUCHSIA;
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #66cdaa;"></div>
pub const MEDIUMAQUAMARINE: Rgba8 = Rgba8::from_hex(b"#66cdaa");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #0000cd;"></div>
pub const MEDIUMBLUE: Rgba8 = Rgba8::from_hex(b"#0000cd");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ba55d3;"></div>
pub const MEDIUMORCHID: Rgba8 = Rgba8::from_hex(b"#ba55d3");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #9370db;"></div>
pub const MEDIUMPURPLE: Rgba8 = Rgba8::from_hex(b"#9370db");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #3cb371;"></div>
pub const MEDIUMSEAGREEN: Rgba8 = Rgba8::from_hex(b"#3cb371");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #7b68ee;"></div>
pub const MEDIUMSLATEBLUE: Rgba8 = Rgba8::from_hex(b"#7b68ee");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #00fa9a;"></div>
pub const MEDIUMSPRINGGREEN: Rgba8 = Rgba8::from_hex(b"#00fa9a");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #48d1cc;"></div>
pub const MEDIUMTURQUOISE: Rgba8 = Rgba8::from_hex(b"#48d1cc");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #c71585;"></div>
pub const MEDIUMVIOLETRED: Rgba8 = Rgba8::from_hex(b"#c71585");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #191970;"></div>
pub const MIDNIGHTBLUE: Rgba8 = Rgba8::from_hex(b"#191970");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f5fffa;"></div>
pub const MINTCREAM: Rgba8 = Rgba8::from_hex(b"#f5fffa");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffe4e1;"></div>
pub const MISTYROSE: Rgba8 = Rgba8::from_hex(b"#ffe4e1");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffe4b5;"></div>
pub const MOCCASIN: Rgba8 = Rgba8::from_hex(b"#ffe4b5");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffdead;"></div>
pub const NAVAJOWHITE: Rgba8 = Rgba8::from_hex(b"#ffdead");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fdf5e6;"></div>
pub const OLDLACE: Rgba8 = Rgba8::from_hex(b"#fdf5e6");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #6b8e23;"></div>
pub const OLIVEDRAB: Rgba8 = Rgba8::from_hex(b"#6b8e23");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffa500;"></div>
pub const ORANGE: Rgba8 = Rgba8::from_hex(b"#ffa500");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff4500;"></div>
pub const ORANGERED: Rgba8 = Rgba8::from_hex(b"#ff4500");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #da70d6;"></div>
pub const ORCHID: Rgba8 = Rgba8::from_hex(b"#da70d6");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #eee8aa;"></div>
pub const PALEGOLDENROD: Rgba8 = Rgba8::from_hex(b"#eee8aa");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #98fb98;"></div>
pub const PALEGREEN: Rgba8 = Rgba8::from_hex(b"#98fb98");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #afeeee;"></div>
pub const PALETURQUOISE: Rgba8 = Rgba8::from_hex(b"#afeeee");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #db7093;"></div>
pub const PALEVIOLETRED: Rgba8 = Rgba8::from_hex(b"#db7093");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffefd5;"></div>
pub const PAPAYAWHIP: Rgba8 = Rgba8::from_hex(b"#ffefd5");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffdab9;"></div>
pub const PEACHPUFF: Rgba8 = Rgba8::from_hex(b"#ffdab9");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #cd853f;"></div>
pub const PERU: Rgba8 = Rgba8::from_hex(b"#cd853f");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ffc0cb;"></div>
pub const PINK: Rgba8 = Rgba8::from_hex(b"#ffc0cb");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #dda0dd;"></div>
pub const PLUM: Rgba8 = Rgba8::from_hex(b"#dda0dd");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #b0e0e6;"></div>
pub const POWDERBLUE: Rgba8 = Rgba8::from_hex(b"#b0e0e6");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #663399;"></div>
pub const REBECCAPURPLE: Rgba8 = Rgba8::from_hex(b"#663399");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #bc8f8f;"></div>
pub const ROSYBROWN: Rgba8 = Rgba8::from_hex(b"#bc8f8f");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #4169e1;"></div>
pub const ROYALBLUE: Rgba8 = Rgba8::from_hex(b"#4169e1");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #8b4513;"></div>
pub const SADDLEBROWN: Rgba8 = Rgba8::from_hex(b"#8b4513");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fa8072;"></div>
pub const SALMON: Rgba8 = Rgba8::from_hex(b"#fa8072");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f4a460;"></div>
pub const SANDYBROWN: Rgba8 = Rgba8::from_hex(b"#f4a460");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #2e8b57;"></div>
pub const SEAGREEN: Rgba8 = Rgba8::from_hex(b"#2e8b57");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fff5ee;"></div>
pub const SEASHELL: Rgba8 = Rgba8::from_hex(b"#fff5ee");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #a0522d;"></div>
pub const SIENNA: Rgba8 = Rgba8::from_hex(b"#a0522d");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #87ceeb;"></div>
pub const SKYBLUE: Rgba8 = Rgba8::from_hex(b"#87ceeb");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #6a5acd;"></div>
pub const SLATEBLUE: Rgba8 = Rgba8::from_hex(b"#6a5acd");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #708090;"></div>
pub const SLATEGRAY: Rgba8 = Rgba8::from_hex(b"#708090");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #708090;"></div>
pub const SLATEGREY: Rgba8 = Rgba8::from_hex(b"#708090");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #fffafa;"></div>
pub const SNOW: Rgba8 = Rgba8::from_hex(b"#fffafa");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #00ff7f;"></div>
pub const SPRINGGREEN: Rgba8 = Rgba8::from_hex(b"#00ff7f");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #4682b4;"></div>
pub const STEELBLUE: Rgba8 = Rgba8::from_hex(b"#4682b4");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #d2b48c;"></div>
pub const TAN: Rgba8 = Rgba8::from_hex(b"#d2b48c");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #d8bfd8;"></div>
pub const THISTLE: Rgba8 = Rgba8::from_hex(b"#d8bfd8");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ff6347;"></div>
pub const TOMATO: Rgba8 = Rgba8::from_hex(b"#ff6347");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #40e0d0;"></div>
pub const TURQUOISE: Rgba8 = Rgba8::from_hex(b"#40e0d0");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #ee82ee;"></div>
pub const VIOLET: Rgba8 = Rgba8::from_hex(b"#ee82ee");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f5deb3;"></div>
pub const WHEAT: Rgba8 = Rgba8::from_hex(b"#f5deb3");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #f5f5f5;"></div>
pub const WHITESMOKE: Rgba8 = Rgba8::from_hex(b"#f5f5f5");
/// <div style="display: inline-block; width: 3em; height: 1em; border: 1px solid black; background: #9acd32;"></div>
pub const YELLOWGREEN: Rgba8 = Rgba8::from_hex(b"#9acd32");

/// Lookup a named color (case-insensitive).
/// Return Some(Rgba8) if the name is known
pub(super) fn lookup_name(name: &str) -> Option<Rgba8> {
    match name.trim().to_ascii_lowercase().as_str() {
        "transparent" => Some(TRANSPARENT),

        "black" => Some(BLACK),
        "silver" => Some(SILVER),
        "gray" | "grey" => Some(GRAY),
        "white" => Some(WHITE),
        "maroon" => Some(MAROON),
        "red" => Some(RED),
        "purple" => Some(PURPLE),
        "fuchsia" => Some(FUCHSIA),
        "green" => Some(GREEN),
        "lime" => Some(LIME),
        "olive" => Some(OLIVE),
        "yellow" => Some(YELLOW),
        "navy" => Some(NAVY),
        "blue" => Some(BLUE),
        "teal" => Some(TEAL),
        "aqua" | "cyan" => Some(AQUA),

        "aliceblue" => Some(ALICEBLUE),
        "antiquewhite" => Some(ANTIQUEWHITE),
        "aquamarine" => Some(AQUAMARINE),
        "azure" => Some(AZURE),
        "beige" => Some(BEIGE),
        "bisque" => Some(BISQUE),
        "blanchedalmond" => Some(BLANCHEDALMOND),
        "blueviolet" => Some(BLUEVIOLET),
        "brown" => Some(BROWN),
        "burlywood" => Some(BURLYWOOD),
        "cadetblue" => Some(CADETBLUE),
        "chartreuse" => Some(CHARTREUSE),
        "chocolate" => Some(CHOCOLATE),
        "coral" => Some(CORAL),
        "cornflowerblue" => Some(CORNFLOWERBLUE),
        "cornsilk" => Some(CORNSILK),
        "crimson" => Some(CRIMSON),
        "darkblue" => Some(DARKBLUE),
        "darkcyan" => Some(DARKCYAN),
        "darkgoldenrod" => Some(DARKGOLDENROD),
        "darkgray" => Some(DARKGRAY),
        "darkgreen" => Some(DARKGREEN),
        "darkgrey" => Some(DARKGREY),
        "darkkhaki" => Some(DARKKHAKI),
        "darkmagenta" => Some(DARKMAGENTA),
        "darkolivegreen" => Some(DARKOLIVEGREEN),
        "darkorange" => Some(DARKORANGE),
        "darkorchid" => Some(DARKORCHID),
        "darkred" => Some(DARKRED),
        "darksalmon" => Some(DARKSALMON),
        "darkseagreen" => Some(DARKSEAGREEN),
        "darkslateblue" => Some(DARKSLATEBLUE),
        "darkslategray" => Some(DARKSLATEGRAY),
        "darkslategrey" => Some(DARKSLATEGREY),
        "darkturquoise" => Some(DARKTURQUOISE),
        "darkviolet" => Some(DARKVIOLET),
        "deeppink" => Some(DEEPPINK),
        "deepskyblue" => Some(DEEPSKYBLUE),
        "dimgray" => Some(DIMGRAY),
        "dimgrey" => Some(DIMGREY),
        "dodgerblue" => Some(DODGERBLUE),
        "firebrick" => Some(FIREBRICK),
        "floralwhite" => Some(FLORALWHITE),
        "forestgreen" => Some(FORESTGREEN),
        "gainsboro" => Some(GAINSBORO),
        "ghostwhite" => Some(GHOSTWHITE),
        "gold" => Some(GOLD),
        "goldenrod" => Some(GOLDENROD),
        "greenyellow" => Some(GREENYELLOW),
        "honeydew" => Some(HONEYDEW),
        "hotpink" => Some(HOTPINK),
        "indianred" => Some(INDIANRED),
        "indigo" => Some(INDIGO),
        "ivory" => Some(IVORY),
        "khaki" => Some(KHAKI),
        "lavender" => Some(LAVENDER),
        "lavenderblush" => Some(LAVENDERBLUSH),
        "lawngreen" => Some(LAWNGREEN),
        "lemonchiffon" => Some(LEMONCHIFFON),
        "lightblue" => Some(LIGHTBLUE),
        "lightcoral" => Some(LIGHTCORAL),
        "lightcyan" => Some(LIGHTCYAN),
        "lightgoldenrodyellow" => Some(LIGHTGOLDENRODYELLOW),
        "lightgray" => Some(LIGHTGRAY),
        "lightgreen" => Some(LIGHTGREEN),
        "lightgrey" => Some(LIGHTGREY),
        "lightpink" => Some(LIGHTPINK),
        "lightsalmon" => Some(LIGHTSALMON),
        "lightseagreen" => Some(LIGHTSEAGREEN),
        "lightskyblue" => Some(LIGHTSKYBLUE),
        "lightslategray" => Some(LIGHTSLATEGRAY),
        "lightslategrey" => Some(LIGHTSLATEGREY),
        "lightsteelblue" => Some(LIGHTSTEELBLUE),
        "lightyellow" => Some(LIGHTYELLOW),
        "limegreen" => Some(LIMEGREEN),
        "linen" => Some(LINEN),

        "magenta" => Some(MAGENTA),
        "mediumaquamarine" => Some(MEDIUMAQUAMARINE),
        "mediumblue" => Some(MEDIUMBLUE),
        "mediumorchid" => Some(MEDIUMORCHID),
        "mediumpurple" => Some(MEDIUMPURPLE),
        "mediumseagreen" => Some(MEDIUMSEAGREEN),
        "mediumslateblue" => Some(MEDIUMSLATEBLUE),
        "mediumspringgreen" => Some(MEDIUMSPRINGGREEN),
        "mediumturquoise" => Some(MEDIUMTURQUOISE),
        "mediumvioletred" => Some(MEDIUMVIOLETRED),
        "midnightblue" => Some(MIDNIGHTBLUE),
        "mintcream" => Some(MINTCREAM),
        "mistyrose" => Some(MISTYROSE),
        "moccasin" => Some(MOCCASIN),
        "navajowhite" => Some(NAVAJOWHITE),
        "oldlace" => Some(OLDLACE),
        "olivedrab" => Some(OLIVEDRAB),
        "orange" => Some(ORANGE),
        "orangered" => Some(ORANGERED),
        "orchid" => Some(ORCHID),
        "palegoldenrod" => Some(PALEGOLDENROD),
        "palegreen" => Some(PALEGREEN),
        "paleturquoise" => Some(PALETURQUOISE),
        "palevioletred" => Some(PALEVIOLETRED),
        "papayawhip" => Some(PAPAYAWHIP),
        "peachpuff" => Some(PEACHPUFF),
        "peru" => Some(PERU),
        "pink" => Some(PINK),
        "plum" => Some(PLUM),
        "powderblue" => Some(POWDERBLUE),
        "rebeccapurple" => Some(REBECCAPURPLE),
        "rosybrown" => Some(ROSYBROWN),
        "royalblue" => Some(ROYALBLUE),
        "saddlebrown" => Some(SADDLEBROWN),
        "salmon" => Some(SALMON),
        "sandybrown" => Some(SANDYBROWN),
        "seagreen" => Some(SEAGREEN),
        "seashell" => Some(SEASHELL),
        "sienna" => Some(SIENNA),
        "skyblue" => Some(SKYBLUE),
        "slateblue" => Some(SLATEBLUE),
        "slategray" => Some(SLATEGRAY),
        "slategrey" => Some(SLATEGREY),
        "snow" => Some(SNOW),
        "springgreen" => Some(SPRINGGREEN),
        "steelblue" => Some(STEELBLUE),
        "tan" => Some(TAN),
        "thistle" => Some(THISTLE),
        "tomato" => Some(TOMATO),
        "turquoise" => Some(TURQUOISE),
        "violet" => Some(VIOLET),
        "wheat" => Some(WHEAT),
        "whitesmoke" => Some(WHITESMOKE),
        "yellowgreen" => Some(YELLOWGREEN),

        _ => None,
    }
}
