diff options
Diffstat (limited to 'devtools/client/shared/test/helper_color_data.js')
-rw-r--r-- | devtools/client/shared/test/helper_color_data.js | 1499 |
1 files changed, 1499 insertions, 0 deletions
diff --git a/devtools/client/shared/test/helper_color_data.js b/devtools/client/shared/test/helper_color_data.js new file mode 100644 index 0000000000..6429c95530 --- /dev/null +++ b/devtools/client/shared/test/helper_color_data.js @@ -0,0 +1,1499 @@ +"use strict"; + +// This is used to test color.js in browser_css_color.js + +/* eslint-disable max-len */ +function getFixtureColorData() { + return [ + { + authored: "aliceblue", + name: "aliceblue", + hex: "#f0f8ff", + hsl: "hsl(208, 100%, 97.1%)", + rgb: "rgb(240, 248, 255)", + hwb: "hwb(208 94.1% 0%)", + cycle: 5, + }, + { + authored: "antiquewhite", + name: "antiquewhite", + hex: "#faebd7", + hsl: "hsl(34.3, 77.8%, 91.2%)", + rgb: "rgb(250, 235, 215)", + hwb: "hwb(34.3 84.3% 2%)", + cycle: 5, + }, + { + authored: "aqua", + name: "aqua", + hex: "#0ff", + hsl: "hsl(180, 100%, 50%)", + rgb: "rgb(0, 255, 255)", + hwb: "hwb(180 0% 0%)", + cycle: 5, + }, + { + authored: "aquamarine", + name: "aquamarine", + hex: "#7fffd4", + hsl: "hsl(159.8, 100%, 74.9%)", + rgb: "rgb(127, 255, 212)", + hwb: "hwb(159.8 49.8% 0%)", + cycle: 5, + }, + { + authored: "azure", + name: "azure", + hex: "#f0ffff", + hsl: "hsl(180, 100%, 97.1%)", + rgb: "rgb(240, 255, 255)", + hwb: "hwb(180 94.1% 0%)", + cycle: 5, + }, + { + authored: "beige", + name: "beige", + hex: "#f5f5dc", + hsl: "hsl(60, 55.6%, 91.2%)", + rgb: "rgb(245, 245, 220)", + hwb: "hwb(60 86.3% 3.9%)", + cycle: 5, + }, + { + authored: "bisque", + name: "bisque", + hex: "#ffe4c4", + hsl: "hsl(32.5, 100%, 88.4%)", + rgb: "rgb(255, 228, 196)", + hwb: "hwb(32.5 76.9% 0%)", + cycle: 5, + }, + { + authored: "black", + name: "black", + hex: "#000", + hsl: "hsl(0, 0%, 0%)", + rgb: "rgb(0, 0, 0)", + hwb: "hwb(0 0% 100%)", + cycle: 5, + }, + { + authored: "blanchedalmond", + name: "blanchedalmond", + hex: "#ffebcd", + hsl: "hsl(36, 100%, 90.2%)", + rgb: "rgb(255, 235, 205)", + hwb: "hwb(36 80.4% 0%)", + cycle: 5, + }, + { + authored: "blue", + name: "blue", + hex: "#00f", + hsl: "hsl(240, 100%, 50%)", + rgb: "rgb(0, 0, 255)", + hwb: "hwb(240 0% 0%)", + cycle: 5, + }, + { + authored: "blueviolet", + name: "blueviolet", + hex: "#8a2be2", + hsl: "hsl(271.1, 75.9%, 52.7%)", + rgb: "rgb(138, 43, 226)", + hwb: "hwb(271.1 16.9% 11.4%)", + cycle: 5, + }, + { + authored: "brown", + name: "brown", + hex: "#a52a2a", + hsl: "hsl(0, 59.4%, 40.6%)", + rgb: "rgb(165, 42, 42)", + hwb: "hwb(0 16.5% 35.3%)", + cycle: 5, + }, + { + authored: "burlywood", + name: "burlywood", + hex: "#deb887", + hsl: "hsl(33.8, 56.9%, 70%)", + rgb: "rgb(222, 184, 135)", + hwb: "hwb(33.8 52.9% 12.9%)", + cycle: 5, + }, + { + authored: "cadetblue", + name: "cadetblue", + hex: "#5f9ea0", + hsl: "hsl(181.8, 25.5%, 50%)", + rgb: "rgb(95, 158, 160)", + hwb: "hwb(181.8 37.3% 37.3%)", + cycle: 5, + }, + { + authored: "chartreuse", + name: "chartreuse", + hex: "#7fff00", + hsl: "hsl(90.1, 100%, 50%)", + rgb: "rgb(127, 255, 0)", + hwb: "hwb(90.1 0% 0%)", + cycle: 5, + }, + { + authored: "chocolate", + name: "chocolate", + hex: "#d2691e", + hsl: "hsl(25, 75%, 47.1%)", + rgb: "rgb(210, 105, 30)", + hwb: "hwb(25 11.8% 17.6%)", + cycle: 5, + }, + { + authored: "coral", + name: "coral", + hex: "#ff7f50", + hsl: "hsl(16.1, 100%, 65.7%)", + rgb: "rgb(255, 127, 80)", + hwb: "hwb(16.1 31.4% 0%)", + cycle: 5, + }, + { + authored: "cornflowerblue", + name: "cornflowerblue", + hex: "#6495ed", + hsl: "hsl(218.5, 79.2%, 66.1%)", + rgb: "rgb(100, 149, 237)", + hwb: "hwb(218.5 39.2% 7.1%)", + cycle: 5, + }, + { + authored: "cornsilk", + name: "cornsilk", + hex: "#fff8dc", + hsl: "hsl(48, 100%, 93.1%)", + rgb: "rgb(255, 248, 220)", + hwb: "hwb(48 86.3% 0%)", + cycle: 5, + }, + { + authored: "crimson", + name: "crimson", + hex: "#dc143c", + hsl: "hsl(348, 83.3%, 47.1%)", + rgb: "rgb(220, 20, 60)", + hwb: "hwb(348 7.8% 13.7%)", + cycle: 5, + }, + { + authored: "cyan", + name: "aqua", + hex: "#0ff", + hsl: "hsl(180, 100%, 50%)", + rgb: "rgb(0, 255, 255)", + hwb: "hwb(180 0% 0%)", + cycle: 5, + }, + { + authored: "darkblue", + name: "darkblue", + hex: "#00008b", + hsl: "hsl(240, 100%, 27.3%)", + rgb: "rgb(0, 0, 139)", + hwb: "hwb(240 0% 45.5%)", + cycle: 5, + }, + { + authored: "darkcyan", + name: "darkcyan", + hex: "#008b8b", + hsl: "hsl(180, 100%, 27.3%)", + rgb: "rgb(0, 139, 139)", + hwb: "hwb(180 0% 45.5%)", + cycle: 5, + }, + { + authored: "darkgoldenrod", + name: "darkgoldenrod", + hex: "#b8860b", + hsl: "hsl(42.7, 88.7%, 38.2%)", + rgb: "rgb(184, 134, 11)", + hwb: "hwb(42.7 4.3% 27.8%)", + cycle: 5, + }, + { + authored: "darkgray", + name: "darkgray", + hex: "#a9a9a9", + hsl: "hsl(0, 0%, 66.3%)", + rgb: "rgb(169, 169, 169)", + hwb: "hwb(0 66.3% 33.7%)", + cycle: 5, + }, + { + authored: "darkgreen", + name: "darkgreen", + hex: "#006400", + hsl: "hsl(120, 100%, 19.6%)", + rgb: "rgb(0, 100, 0)", + hwb: "hwb(120 0% 60.8%)", + cycle: 5, + }, + { + authored: "darkgrey", + name: "darkgray", + hex: "#a9a9a9", + hsl: "hsl(0, 0%, 66.3%)", + rgb: "rgb(169, 169, 169)", + hwb: "hwb(0 66.3% 33.7%)", + cycle: 5, + }, + { + authored: "darkkhaki", + name: "darkkhaki", + hex: "#bdb76b", + hsl: "hsl(55.6, 38.3%, 58%)", + rgb: "rgb(189, 183, 107)", + hwb: "hwb(55.6 42% 25.9%)", + cycle: 5, + }, + { + authored: "darkmagenta", + name: "darkmagenta", + hex: "#8b008b", + hsl: "hsl(300, 100%, 27.3%)", + rgb: "rgb(139, 0, 139)", + hwb: "hwb(300 0% 45.5%)", + cycle: 5, + }, + { + authored: "darkolivegreen", + name: "darkolivegreen", + hex: "#556b2f", + hsl: "hsl(82, 39%, 30.2%)", + rgb: "rgb(85, 107, 47)", + hwb: "hwb(82 18.4% 58%)", + cycle: 5, + }, + { + authored: "darkorange", + name: "darkorange", + hex: "#ff8c00", + hsl: "hsl(32.9, 100%, 50%)", + rgb: "rgb(255, 140, 0)", + hwb: "hwb(32.9 0% 0%)", + cycle: 5, + }, + { + authored: "darkorchid", + name: "darkorchid", + hex: "#9932cc", + hsl: "hsl(280.1, 60.6%, 49.8%)", + rgb: "rgb(153, 50, 204)", + hwb: "hwb(280.1 19.6% 20%)", + cycle: 5, + }, + { + authored: "darkred", + name: "darkred", + hex: "#8b0000", + hsl: "hsl(0, 100%, 27.3%)", + rgb: "rgb(139, 0, 0)", + hwb: "hwb(0 0% 45.5%)", + cycle: 5, + }, + { + authored: "darksalmon", + name: "darksalmon", + hex: "#e9967a", + hsl: "hsl(15.1, 71.6%, 69.6%)", + rgb: "rgb(233, 150, 122)", + hwb: "hwb(15.1 47.8% 8.6%)", + cycle: 5, + }, + { + authored: "darkseagreen", + name: "darkseagreen", + hex: "#8fbc8f", + hsl: "hsl(120, 25.1%, 64.9%)", + rgb: "rgb(143, 188, 143)", + hwb: "hwb(120 56.1% 26.3%)", + cycle: 5, + }, + { + authored: "darkslateblue", + name: "darkslateblue", + hex: "#483d8b", + hsl: "hsl(248.5, 39%, 39.2%)", + rgb: "rgb(72, 61, 139)", + hwb: "hwb(248.5 23.9% 45.5%)", + cycle: 5, + }, + { + authored: "darkslategray", + name: "darkslategray", + hex: "#2f4f4f", + hsl: "hsl(180, 25.4%, 24.7%)", + rgb: "rgb(47, 79, 79)", + hwb: "hwb(180 18.4% 69%)", + cycle: 5, + }, + { + authored: "darkslategrey", + name: "darkslategray", + hex: "#2f4f4f", + hsl: "hsl(180, 25.4%, 24.7%)", + rgb: "rgb(47, 79, 79)", + hwb: "hwb(180 18.4% 69%)", + cycle: 5, + }, + { + authored: "darkturquoise", + name: "darkturquoise", + hex: "#00ced1", + hsl: "hsl(180.9, 100%, 41%)", + rgb: "rgb(0, 206, 209)", + hwb: "hwb(180.9 0% 18%)", + cycle: 5, + }, + { + authored: "darkviolet", + name: "darkviolet", + hex: "#9400d3", + hsl: "hsl(282.1, 100%, 41.4%)", + rgb: "rgb(148, 0, 211)", + hwb: "hwb(282.1 0% 17.3%)", + cycle: 5, + }, + { + authored: "deeppink", + name: "deeppink", + hex: "#ff1493", + hsl: "hsl(327.6, 100%, 53.9%)", + rgb: "rgb(255, 20, 147)", + hwb: "hwb(327.6 7.8% 0%)", + cycle: 5, + }, + { + authored: "deepskyblue", + name: "deepskyblue", + hex: "#00bfff", + hsl: "hsl(195.1, 100%, 50%)", + rgb: "rgb(0, 191, 255)", + hwb: "hwb(195.1 0% 0%)", + cycle: 5, + }, + { + authored: "dimgray", + name: "dimgray", + hex: "#696969", + hsl: "hsl(0, 0%, 41.2%)", + rgb: "rgb(105, 105, 105)", + hwb: "hwb(0 41.2% 58.8%)", + cycle: 5, + }, + { + authored: "dodgerblue", + name: "dodgerblue", + hex: "#1e90ff", + hsl: "hsl(209.6, 100%, 55.9%)", + rgb: "rgb(30, 144, 255)", + hwb: "hwb(209.6 11.8% 0%)", + cycle: 5, + }, + { + authored: "firebrick", + name: "firebrick", + hex: "#b22222", + hsl: "hsl(0, 67.9%, 41.6%)", + rgb: "rgb(178, 34, 34)", + hwb: "hwb(0 13.3% 30.2%)", + cycle: 5, + }, + { + authored: "floralwhite", + name: "floralwhite", + hex: "#fffaf0", + hsl: "hsl(40, 100%, 97.1%)", + rgb: "rgb(255, 250, 240)", + hwb: "hwb(40 94.1% 0%)", + cycle: 5, + }, + { + authored: "forestgreen", + name: "forestgreen", + hex: "#228b22", + hsl: "hsl(120, 60.7%, 33.9%)", + rgb: "rgb(34, 139, 34)", + hwb: "hwb(120 13.3% 45.5%)", + cycle: 5, + }, + { + authored: "fuchsia", + name: "fuchsia", + hex: "#f0f", + hsl: "hsl(300, 100%, 50%)", + rgb: "rgb(255, 0, 255)", + hwb: "hwb(300 0% 0%)", + cycle: 5, + }, + { + authored: "gainsboro", + name: "gainsboro", + hex: "#dcdcdc", + hsl: "hsl(0, 0%, 86.3%)", + rgb: "rgb(220, 220, 220)", + hwb: "hwb(0 86.3% 13.7%)", + cycle: 5, + }, + { + authored: "ghostwhite", + name: "ghostwhite", + hex: "#f8f8ff", + hsl: "hsl(240, 100%, 98.6%)", + rgb: "rgb(248, 248, 255)", + hwb: "hwb(240 97.3% 0%)", + cycle: 5, + }, + { + authored: "gold", + name: "gold", + hex: "#ffd700", + hsl: "hsl(50.6, 100%, 50%)", + rgb: "rgb(255, 215, 0)", + hwb: "hwb(50.6 0% 0%)", + cycle: 5, + }, + { + authored: "goldenrod", + name: "goldenrod", + hex: "#daa520", + hsl: "hsl(42.9, 74.4%, 49%)", + rgb: "rgb(218, 165, 32)", + hwb: "hwb(42.9 12.5% 14.5%)", + cycle: 5, + }, + { + authored: "gray", + name: "gray", + hex: "#808080", + hsl: "hsl(0, 0%, 50.2%)", + rgb: "rgb(128, 128, 128)", + hwb: "hwb(0 50.2% 49.8%)", + cycle: 5, + }, + { + authored: "green", + name: "green", + hex: "#008000", + hsl: "hsl(120, 100%, 25.1%)", + rgb: "rgb(0, 128, 0)", + hwb: "hwb(120 0% 49.8%)", + cycle: 5, + }, + { + authored: "greenyellow", + name: "greenyellow", + hex: "#adff2f", + hsl: "hsl(83.7, 100%, 59.2%)", + rgb: "rgb(173, 255, 47)", + hwb: "hwb(83.7 18.4% 0%)", + cycle: 5, + }, + { + authored: "grey", + name: "gray", + hex: "#808080", + hsl: "hsl(0, 0%, 50.2%)", + rgb: "rgb(128, 128, 128)", + hwb: "hwb(0 50.2% 49.8%)", + cycle: 5, + }, + { + authored: "honeydew", + name: "honeydew", + hex: "#f0fff0", + hsl: "hsl(120, 100%, 97.1%)", + rgb: "rgb(240, 255, 240)", + hwb: "hwb(120 94.1% 0%)", + cycle: 5, + }, + { + authored: "hotpink", + name: "hotpink", + hex: "#ff69b4", + hsl: "hsl(330, 100%, 70.6%)", + rgb: "rgb(255, 105, 180)", + hwb: "hwb(330 41.2% 0%)", + cycle: 5, + }, + { + authored: "indianred", + name: "indianred", + hex: "#cd5c5c", + hsl: "hsl(0, 53.1%, 58.2%)", + rgb: "rgb(205, 92, 92)", + hwb: "hwb(0 36.1% 19.6%)", + cycle: 5, + }, + { + authored: "indigo", + name: "indigo", + hex: "#4b0082", + hsl: "hsl(274.6, 100%, 25.5%)", + rgb: "rgb(75, 0, 130)", + hwb: "hwb(274.6 0% 49%)", + cycle: 5, + }, + { + authored: "ivory", + name: "ivory", + hex: "#fffff0", + hsl: "hsl(60, 100%, 97.1%)", + rgb: "rgb(255, 255, 240)", + hwb: "hwb(60 94.1% 0%)", + cycle: 5, + }, + { + authored: "khaki", + name: "khaki", + hex: "#f0e68c", + hsl: "hsl(54, 76.9%, 74.5%)", + rgb: "rgb(240, 230, 140)", + hwb: "hwb(54 54.9% 5.9%)", + cycle: 5, + }, + { + authored: "lavender", + name: "lavender", + hex: "#e6e6fa", + hsl: "hsl(240, 66.7%, 94.1%)", + rgb: "rgb(230, 230, 250)", + hwb: "hwb(240 90.2% 2%)", + cycle: 5, + }, + { + authored: "lavenderblush", + name: "lavenderblush", + hex: "#fff0f5", + hsl: "hsl(340, 100%, 97.1%)", + rgb: "rgb(255, 240, 245)", + hwb: "hwb(340 94.1% 0%)", + cycle: 5, + }, + { + authored: "lawngreen", + name: "lawngreen", + hex: "#7cfc00", + hsl: "hsl(90.5, 100%, 49.4%)", + rgb: "rgb(124, 252, 0)", + hwb: "hwb(90.5 0% 1.2%)", + cycle: 5, + }, + { + authored: "lemonchiffon", + name: "lemonchiffon", + hex: "#fffacd", + hsl: "hsl(54, 100%, 90.2%)", + rgb: "rgb(255, 250, 205)", + hwb: "hwb(54 80.4% 0%)", + cycle: 5, + }, + { + authored: "lightblue", + name: "lightblue", + hex: "#add8e6", + hsl: "hsl(194.7, 53.3%, 79%)", + rgb: "rgb(173, 216, 230)", + hwb: "hwb(194.7 67.8% 9.8%)", + cycle: 5, + }, + { + authored: "lightcoral", + name: "lightcoral", + hex: "#f08080", + hsl: "hsl(0, 78.9%, 72.2%)", + rgb: "rgb(240, 128, 128)", + hwb: "hwb(0 50.2% 5.9%)", + cycle: 5, + }, + { + authored: "lightcyan", + name: "lightcyan", + hex: "#e0ffff", + hsl: "hsl(180, 100%, 93.9%)", + rgb: "rgb(224, 255, 255)", + hwb: "hwb(180 87.8% 0%)", + cycle: 5, + }, + { + authored: "lightgoldenrodyellow", + name: "lightgoldenrodyellow", + hex: "#fafad2", + hsl: "hsl(60, 80%, 90.2%)", + rgb: "rgb(250, 250, 210)", + hwb: "hwb(60 82.4% 2%)", + cycle: 5, + }, + { + authored: "lightgray", + name: "lightgray", + hex: "#d3d3d3", + hsl: "hsl(0, 0%, 82.7%)", + rgb: "rgb(211, 211, 211)", + hwb: "hwb(0 82.7% 17.3%)", + cycle: 5, + }, + { + authored: "lightgreen", + name: "lightgreen", + hex: "#90ee90", + hsl: "hsl(120, 73.4%, 74.9%)", + rgb: "rgb(144, 238, 144)", + hwb: "hwb(120 56.5% 6.7%)", + cycle: 5, + }, + { + authored: "lightgrey", + name: "lightgray", + hex: "#d3d3d3", + hsl: "hsl(0, 0%, 82.7%)", + rgb: "rgb(211, 211, 211)", + hwb: "hwb(0 82.7% 17.3%)", + cycle: 5, + }, + { + authored: "lightpink", + name: "lightpink", + hex: "#ffb6c1", + hsl: "hsl(351, 100%, 85.7%)", + rgb: "rgb(255, 182, 193)", + hwb: "hwb(351 71.4% 0%)", + cycle: 5, + }, + { + authored: "lightsalmon", + name: "lightsalmon", + hex: "#ffa07a", + hsl: "hsl(17.1, 100%, 73.9%)", + rgb: "rgb(255, 160, 122)", + hwb: "hwb(17.1 47.8% 0%)", + cycle: 5, + }, + { + authored: "lightseagreen", + name: "lightseagreen", + hex: "#20b2aa", + hsl: "hsl(176.7, 69.5%, 41.2%)", + rgb: "rgb(32, 178, 170)", + hwb: "hwb(176.7 12.5% 30.2%)", + cycle: 5, + }, + { + authored: "lightskyblue", + name: "lightskyblue", + hex: "#87cefa", + hsl: "hsl(203, 92%, 75.5%)", + rgb: "rgb(135, 206, 250)", + hwb: "hwb(203 52.9% 2%)", + cycle: 5, + }, + { + authored: "lightslategray", + name: "lightslategray", + hex: "#789", + hsl: "hsl(210, 14.3%, 53.3%)", + rgb: "rgb(119, 136, 153)", + hwb: "hwb(210 46.7% 40%)", + cycle: 5, + }, + { + authored: "lightslategrey", + name: "lightslategray", + hex: "#789", + hsl: "hsl(210, 14.3%, 53.3%)", + rgb: "rgb(119, 136, 153)", + hwb: "hwb(210 46.7% 40%)", + cycle: 5, + }, + { + authored: "lightsteelblue", + name: "lightsteelblue", + hex: "#b0c4de", + hsl: "hsl(213.9, 41.1%, 78%)", + rgb: "rgb(176, 196, 222)", + hwb: "hwb(213.9 69% 12.9%)", + cycle: 5, + }, + { + authored: "lightyellow", + name: "lightyellow", + hex: "#ffffe0", + hsl: "hsl(60, 100%, 93.9%)", + rgb: "rgb(255, 255, 224)", + hwb: "hwb(60 87.8% 0%)", + cycle: 5, + }, + { + authored: "lime", + name: "lime", + hex: "#0f0", + hsl: "hsl(120, 100%, 50%)", + rgb: "rgb(0, 255, 0)", + hwb: "hwb(120 0% 0%)", + cycle: 5, + }, + { + authored: "limegreen", + name: "limegreen", + hex: "#32cd32", + hsl: "hsl(120, 60.8%, 50%)", + rgb: "rgb(50, 205, 50)", + hwb: "hwb(120 19.6% 19.6%)", + cycle: 5, + }, + { + authored: "linen", + name: "linen", + hex: "#faf0e6", + hsl: "hsl(30, 66.7%, 94.1%)", + rgb: "rgb(250, 240, 230)", + hwb: "hwb(30 90.2% 2%)", + cycle: 5, + }, + { + authored: "magenta", + name: "fuchsia", + hex: "#f0f", + hsl: "hsl(300, 100%, 50%)", + rgb: "rgb(255, 0, 255)", + hwb: "hwb(300 0% 0%)", + cycle: 5, + }, + { + authored: "maroon", + name: "maroon", + hex: "#800000", + hsl: "hsl(0, 100%, 25.1%)", + rgb: "rgb(128, 0, 0)", + hwb: "hwb(0 0% 49.8%)", + cycle: 5, + }, + { + authored: "mediumaquamarine", + name: "mediumaquamarine", + hex: "#66cdaa", + hsl: "hsl(159.6, 50.7%, 60.2%)", + rgb: "rgb(102, 205, 170)", + hwb: "hwb(159.6 40% 19.6%)", + cycle: 5, + }, + { + authored: "mediumblue", + name: "mediumblue", + hex: "#0000cd", + hsl: "hsl(240, 100%, 40.2%)", + rgb: "rgb(0, 0, 205)", + hwb: "hwb(240 0% 19.6%)", + cycle: 5, + }, + { + authored: "mediumorchid", + name: "mediumorchid", + hex: "#ba55d3", + hsl: "hsl(288.1, 58.9%, 58%)", + rgb: "rgb(186, 85, 211)", + hwb: "hwb(288.1 33.3% 17.3%)", + cycle: 5, + }, + { + authored: "mediumpurple", + name: "mediumpurple", + hex: "#9370db", + hsl: "hsl(259.6, 59.8%, 64.9%)", + rgb: "rgb(147, 112, 219)", + hwb: "hwb(259.6 43.9% 14.1%)", + cycle: 5, + }, + { + authored: "mediumseagreen", + name: "mediumseagreen", + hex: "#3cb371", + hsl: "hsl(146.7, 49.8%, 46.9%)", + rgb: "rgb(60, 179, 113)", + hwb: "hwb(146.7 23.5% 29.8%)", + cycle: 5, + }, + { + authored: "mediumslateblue", + name: "mediumslateblue", + hex: "#7b68ee", + hsl: "hsl(248.5, 79.8%, 67.1%)", + rgb: "rgb(123, 104, 238)", + hwb: "hwb(248.5 40.8% 6.7%)", + cycle: 5, + }, + { + authored: "mediumspringgreen", + name: "mediumspringgreen", + hex: "#00fa9a", + hsl: "hsl(157, 100%, 49%)", + rgb: "rgb(0, 250, 154)", + hwb: "hwb(157 0% 2%)", + cycle: 5, + }, + { + authored: "mediumturquoise", + name: "mediumturquoise", + hex: "#48d1cc", + hsl: "hsl(177.8, 59.8%, 55.1%)", + rgb: "rgb(72, 209, 204)", + hwb: "hwb(177.8 28.2% 18%)", + cycle: 5, + }, + { + authored: "mediumvioletred", + name: "mediumvioletred", + hex: "#c71585", + hsl: "hsl(322.2, 80.9%, 43.1%)", + rgb: "rgb(199, 21, 133)", + hwb: "hwb(322.2 8.2% 22%)", + cycle: 5, + }, + { + authored: "midnightblue", + name: "midnightblue", + hex: "#191970", + hsl: "hsl(240, 63.5%, 26.9%)", + rgb: "rgb(25, 25, 112)", + hwb: "hwb(240 9.8% 56.1%)", + cycle: 5, + }, + { + authored: "mintcream", + name: "mintcream", + hex: "#f5fffa", + hsl: "hsl(150, 100%, 98%)", + rgb: "rgb(245, 255, 250)", + hwb: "hwb(150 96.1% 0%)", + cycle: 5, + }, + { + authored: "mistyrose", + name: "mistyrose", + hex: "#ffe4e1", + hsl: "hsl(6, 100%, 94.1%)", + rgb: "rgb(255, 228, 225)", + hwb: "hwb(6 88.2% 0%)", + cycle: 5, + }, + { + authored: "moccasin", + name: "moccasin", + hex: "#ffe4b5", + hsl: "hsl(38.1, 100%, 85.5%)", + rgb: "rgb(255, 228, 181)", + hwb: "hwb(38.1 71% 0%)", + cycle: 5, + }, + { + authored: "navajowhite", + name: "navajowhite", + hex: "#ffdead", + hsl: "hsl(35.9, 100%, 83.9%)", + rgb: "rgb(255, 222, 173)", + hwb: "hwb(35.9 67.8% 0%)", + cycle: 5, + }, + { + authored: "navy", + name: "navy", + hex: "#000080", + hsl: "hsl(240, 100%, 25.1%)", + rgb: "rgb(0, 0, 128)", + hwb: "hwb(240 0% 49.8%)", + cycle: 5, + }, + { + authored: "oldlace", + name: "oldlace", + hex: "#fdf5e6", + hsl: "hsl(39.1, 85.2%, 94.7%)", + rgb: "rgb(253, 245, 230)", + hwb: "hwb(39.1 90.2% 0.8%)", + cycle: 5, + }, + { + authored: "olive", + name: "olive", + hex: "#808000", + hsl: "hsl(60, 100%, 25.1%)", + rgb: "rgb(128, 128, 0)", + hwb: "hwb(60 0% 49.8%)", + cycle: 5, + }, + { + authored: "olivedrab", + name: "olivedrab", + hex: "#6b8e23", + hsl: "hsl(79.6, 60.5%, 34.7%)", + rgb: "rgb(107, 142, 35)", + hwb: "hwb(79.6 13.7% 44.3%)", + cycle: 5, + }, + { + authored: "orange", + name: "orange", + hex: "#ffa500", + hsl: "hsl(38.8, 100%, 50%)", + rgb: "rgb(255, 165, 0)", + hwb: "hwb(38.8 0% 0%)", + cycle: 5, + }, + { + authored: "orangered", + name: "orangered", + hex: "#ff4500", + hsl: "hsl(16.2, 100%, 50%)", + rgb: "rgb(255, 69, 0)", + hwb: "hwb(16.2 0% 0%)", + cycle: 5, + }, + { + authored: "orchid", + name: "orchid", + hex: "#da70d6", + hsl: "hsl(302.3, 58.9%, 64.7%)", + rgb: "rgb(218, 112, 214)", + hwb: "hwb(302.3 43.9% 14.5%)", + cycle: 5, + }, + { + authored: "palegoldenrod", + name: "palegoldenrod", + hex: "#eee8aa", + hsl: "hsl(54.7, 66.7%, 80%)", + rgb: "rgb(238, 232, 170)", + hwb: "hwb(54.7 66.7% 6.7%)", + cycle: 5, + }, + { + authored: "palegreen", + name: "palegreen", + hex: "#98fb98", + hsl: "hsl(120, 92.5%, 79%)", + rgb: "rgb(152, 251, 152)", + hwb: "hwb(120 59.6% 1.6%)", + cycle: 5, + }, + { + authored: "paleturquoise", + name: "paleturquoise", + hex: "#afeeee", + hsl: "hsl(180, 64.9%, 81%)", + rgb: "rgb(175, 238, 238)", + hwb: "hwb(180 68.6% 6.7%)", + cycle: 5, + }, + { + authored: "palevioletred", + name: "palevioletred", + hex: "#db7093", + hsl: "hsl(340.4, 59.8%, 64.9%)", + rgb: "rgb(219, 112, 147)", + hwb: "hwb(340.4 43.9% 14.1%)", + cycle: 5, + }, + { + authored: "papayawhip", + name: "papayawhip", + hex: "#ffefd5", + hsl: "hsl(37.1, 100%, 91.8%)", + rgb: "rgb(255, 239, 213)", + hwb: "hwb(37.1 83.5% 0%)", + cycle: 5, + }, + { + authored: "peachpuff", + name: "peachpuff", + hex: "#ffdab9", + hsl: "hsl(28.3, 100%, 86.3%)", + rgb: "rgb(255, 218, 185)", + hwb: "hwb(28.3 72.5% 0%)", + cycle: 5, + }, + { + authored: "peru", + name: "peru", + hex: "#cd853f", + hsl: "hsl(29.6, 58.7%, 52.5%)", + rgb: "rgb(205, 133, 63)", + hwb: "hwb(29.6 24.7% 19.6%)", + cycle: 5, + }, + { + authored: "pink", + name: "pink", + hex: "#ffc0cb", + hsl: "hsl(349.5, 100%, 87.6%)", + rgb: "rgb(255, 192, 203)", + hwb: "hwb(349.5 75.3% 0%)", + cycle: 5, + }, + { + authored: "plum", + name: "plum", + hex: "#dda0dd", + hsl: "hsl(300, 47.3%, 74.7%)", + rgb: "rgb(221, 160, 221)", + hwb: "hwb(300 62.7% 13.3%)", + cycle: 5, + }, + { + authored: "powderblue", + name: "powderblue", + hex: "#b0e0e6", + hsl: "hsl(186.7, 51.9%, 79.6%)", + rgb: "rgb(176, 224, 230)", + hwb: "hwb(186.7 69% 9.8%)", + cycle: 5, + }, + { + authored: "purple", + name: "purple", + hex: "#800080", + hsl: "hsl(300, 100%, 25.1%)", + rgb: "rgb(128, 0, 128)", + hwb: "hwb(300 0% 49.8%)", + cycle: 5, + }, + { + authored: "rebeccapurple", + name: "rebeccapurple", + hex: "#639", + hsl: "hsl(270, 50%, 40%)", + rgb: "rgb(102, 51, 153)", + hwb: "hwb(270 20% 40%)", + cycle: 5, + }, + { + authored: "red", + name: "red", + hex: "#f00", + hsl: "hsl(0, 100%, 50%)", + rgb: "rgb(255, 0, 0)", + hwb: "hwb(0 0% 0%)", + cycle: 5, + }, + { + authored: "rosybrown", + name: "rosybrown", + hex: "#bc8f8f", + hsl: "hsl(0, 25.1%, 64.9%)", + rgb: "rgb(188, 143, 143)", + hwb: "hwb(0 56.1% 26.3%)", + cycle: 5, + }, + { + authored: "royalblue", + name: "royalblue", + hex: "#4169e1", + hsl: "hsl(225, 72.7%, 56.9%)", + rgb: "rgb(65, 105, 225)", + hwb: "hwb(225 25.5% 11.8%)", + cycle: 5, + }, + { + authored: "saddlebrown", + name: "saddlebrown", + hex: "#8b4513", + hsl: "hsl(25, 75.9%, 31%)", + rgb: "rgb(139, 69, 19)", + hwb: "hwb(25 7.5% 45.5%)", + cycle: 5, + }, + { + authored: "salmon", + name: "salmon", + hex: "#fa8072", + hsl: "hsl(6.2, 93.2%, 71.4%)", + rgb: "rgb(250, 128, 114)", + hwb: "hwb(6.2 44.7% 2%)", + cycle: 5, + }, + { + authored: "sandybrown", + name: "sandybrown", + hex: "#f4a460", + hsl: "hsl(27.6, 87.1%, 66.7%)", + rgb: "rgb(244, 164, 96)", + hwb: "hwb(27.6 37.6% 4.3%)", + cycle: 5, + }, + { + authored: "seagreen", + name: "seagreen", + hex: "#2e8b57", + hsl: "hsl(146.5, 50.3%, 36.3%)", + rgb: "rgb(46, 139, 87)", + hwb: "hwb(146.5 18% 45.5%)", + cycle: 5, + }, + { + authored: "seashell", + name: "seashell", + hex: "#fff5ee", + hsl: "hsl(24.7, 100%, 96.7%)", + rgb: "rgb(255, 245, 238)", + hwb: "hwb(24.7 93.3% 0%)", + cycle: 5, + }, + { + authored: "sienna", + name: "sienna", + hex: "#a0522d", + hsl: "hsl(19.3, 56.1%, 40.2%)", + rgb: "rgb(160, 82, 45)", + hwb: "hwb(19.3 17.6% 37.3%)", + cycle: 5, + }, + { + authored: "silver", + name: "silver", + hex: "#c0c0c0", + hsl: "hsl(0, 0%, 75.3%)", + rgb: "rgb(192, 192, 192)", + hwb: "hwb(0 75.3% 24.7%)", + cycle: 5, + }, + { + authored: "skyblue", + name: "skyblue", + hex: "#87ceeb", + hsl: "hsl(197.4, 71.4%, 72.5%)", + rgb: "rgb(135, 206, 235)", + hwb: "hwb(197.4 52.9% 7.8%)", + cycle: 5, + }, + { + authored: "slateblue", + name: "slateblue", + hex: "#6a5acd", + hsl: "hsl(248.3, 53.5%, 57.8%)", + rgb: "rgb(106, 90, 205)", + hwb: "hwb(248.3 35.3% 19.6%)", + cycle: 5, + }, + { + authored: "slategray", + name: "slategray", + hex: "#708090", + hsl: "hsl(210, 12.6%, 50.2%)", + rgb: "rgb(112, 128, 144)", + hwb: "hwb(210 43.9% 43.5%)", + cycle: 5, + }, + { + authored: "slategrey", + name: "slategray", + hex: "#708090", + hsl: "hsl(210, 12.6%, 50.2%)", + rgb: "rgb(112, 128, 144)", + hwb: "hwb(210 43.9% 43.5%)", + cycle: 5, + }, + { + authored: "snow", + name: "snow", + hex: "#fffafa", + hsl: "hsl(0, 100%, 99%)", + rgb: "rgb(255, 250, 250)", + hwb: "hwb(0 98% 0%)", + cycle: 5, + }, + { + authored: "springgreen", + name: "springgreen", + hex: "#00ff7f", + hsl: "hsl(149.9, 100%, 50%)", + rgb: "rgb(0, 255, 127)", + hwb: "hwb(149.9 0% 0%)", + cycle: 5, + }, + { + authored: "steelblue", + name: "steelblue", + hex: "#4682b4", + hsl: "hsl(207.3, 44%, 49%)", + rgb: "rgb(70, 130, 180)", + hwb: "hwb(207.3 27.5% 29.4%)", + cycle: 5, + }, + { + authored: "tan", + name: "tan", + hex: "#d2b48c", + hsl: "hsl(34.3, 43.7%, 68.6%)", + rgb: "rgb(210, 180, 140)", + hwb: "hwb(34.3 54.9% 17.6%)", + cycle: 5, + }, + { + authored: "teal", + name: "teal", + hex: "#008080", + hsl: "hsl(180, 100%, 25.1%)", + rgb: "rgb(0, 128, 128)", + hwb: "hwb(180 0% 49.8%)", + cycle: 5, + }, + { + authored: "thistle", + name: "thistle", + hex: "#d8bfd8", + hsl: "hsl(300, 24.3%, 79.8%)", + rgb: "rgb(216, 191, 216)", + hwb: "hwb(300 74.9% 15.3%)", + cycle: 5, + }, + { + authored: "tomato", + name: "tomato", + hex: "#ff6347", + hsl: "hsl(9.1, 100%, 63.9%)", + rgb: "rgb(255, 99, 71)", + hwb: "hwb(9.1 27.8% 0%)", + cycle: 5, + }, + { + authored: "turquoise", + name: "turquoise", + hex: "#40e0d0", + hsl: "hsl(174, 72.1%, 56.5%)", + rgb: "rgb(64, 224, 208)", + hwb: "hwb(174 25.1% 12.2%)", + cycle: 5, + }, + { + authored: "violet", + name: "violet", + hex: "#ee82ee", + hsl: "hsl(300, 76.1%, 72.2%)", + rgb: "rgb(238, 130, 238)", + hwb: "hwb(300 51% 6.7%)", + cycle: 5, + }, + { + authored: "wheat", + name: "wheat", + hex: "#f5deb3", + hsl: "hsl(39.1, 76.7%, 83.1%)", + rgb: "rgb(245, 222, 179)", + hwb: "hwb(39.1 70.2% 3.9%)", + cycle: 5, + }, + { + authored: "white", + name: "white", + hex: "#fff", + hsl: "hsl(0, 0%, 100%)", + rgb: "rgb(255, 255, 255)", + hwb: "hwb(0 100% 0%)", + cycle: 5, + }, + { + authored: "whitesmoke", + name: "whitesmoke", + hex: "#f5f5f5", + hsl: "hsl(0, 0%, 96.1%)", + rgb: "rgb(245, 245, 245)", + hwb: "hwb(0 96.1% 3.9%)", + cycle: 5, + }, + { + authored: "yellow", + name: "yellow", + hex: "#ff0", + hsl: "hsl(60, 100%, 50%)", + rgb: "rgb(255, 255, 0)", + hwb: "hwb(60 0% 0%)", + cycle: 5, + }, + { + authored: "yellowgreen", + name: "yellowgreen", + hex: "#9acd32", + hsl: "hsl(79.7, 60.8%, 50%)", + rgb: "rgb(154, 205, 50)", + hwb: "hwb(79.7 19.6% 19.6%)", + cycle: 5, + }, + { + authored: "rgba(0, 0, 0, 0)", + name: "#0000", + hex: "#0000", + hsl: "hsla(0, 0%, 0%, 0)", + rgb: "rgba(0, 0, 0, 0)", + hwb: "hwb(0 0% 100% / 0)", + cycle: 4, + }, + { + authored: "hsla(0, 0%, 0%, 0)", + name: "#0000", + hex: "#0000", + hsl: "hsla(0, 0%, 0%, 0)", + rgb: "rgba(0, 0, 0, 0)", + hwb: "hwb(0 0% 100% / 0)", + cycle: 4, + }, + { + authored: "rgba(50, 60, 70, 0.5)", + name: "#323c4680", + hex: "#323c4680", + hsl: "hsla(210, 16.7%, 23.5%, 0.5)", + rgb: "rgba(50, 60, 70, 0.5)", + hwb: "hwb(210 19.6% 72.5% / 0.5)", + cycle: 4, + }, + { + authored: "rgba(0, 0, 0, 0.3)", + name: "#0000004d", + hex: "#0000004d", + hsl: "hsla(0, 0%, 0%, 0.3)", + rgb: "rgba(0, 0, 0, 0.3)", + hwb: "hwb(0 0% 100% / 0.3)", + cycle: 4, + }, + { + authored: "rgba(255, 255, 255, 0.6)", + name: "#fff9", + hex: "#fff9", + hsl: "hsla(0, 0%, 100%, 0.6)", + rgb: "rgba(255, 255, 255, 0.6)", + hwb: "hwb(0 100% 0% / 0.6)", + cycle: 4, + }, + { + authored: "rgba(127, 89, 45, 1)", + name: "#7f592d", + hex: "#7f592d", + hsl: "hsl(32.2, 47.7%, 33.7%)", + rgb: "rgb(127, 89, 45)", + hwb: "hwb(32.2 17.6% 50.2%)", + cycle: 4, + }, + { + authored: "hsla(19.304, 56%, 40%, 1)", + name: "#9f522d", + hex: "#9f522d", + hsl: "hsl(19.5, 55.9%, 40%)", + rgb: "rgb(159, 82, 45)", + hwb: "hwb(19.5 17.6% 37.6%)", + cycle: 4, + }, + { + authored: "#f089", + name: "#f089", + hex: "#f089", + hsl: "hsla(328, 100%, 50%, 0.6)", + rgb: "rgba(255, 0, 136, 0.6)", + hwb: "hwb(328 0% 0% / 0.6)", + cycle: 4, + }, + { + authored: "#00ff8080", + name: "#00ff8080", + hex: "#00ff8080", + hsl: "hsla(150.1, 100%, 50%, 0.5)", + rgb: "rgba(0, 255, 128, 0.5)", + hwb: "hwb(150.1 0% 0% / 0.5)", + cycle: 4, + }, + { + authored: "#aaaaaa08", + name: "#aaaaaa08", + hex: "#aaaaaa08", + hsl: "hsla(0, 0%, 66.7%, 0.03)", + rgb: "rgba(170, 170, 170, 0.03)", + hwb: "hwb(0 66.7% 33.3% / 0.03)", + }, + { + authored: "currentcolor", + name: "currentcolor", + hex: "currentcolor", + hsl: "currentcolor", + rgb: "currentcolor", + hwb: "currentcolor", + cycle: false, + }, + { + authored: "inherit", + name: "inherit", + hex: "inherit", + hsl: "inherit", + rgb: "inherit", + hwb: "inherit", + cycle: false, + }, + { + authored: "initial", + name: "initial", + hex: "initial", + hsl: "initial", + rgb: "initial", + hwb: "initial", + cycle: false, + }, + { + authored: "invalidColor", + name: "", + hex: "", + hsl: "", + rgb: "", + hwb: "", + cycle: false, + }, + { + authored: "transparent", + name: "transparent", + hex: "transparent", + hsl: "transparent", + rgb: "transparent", + hwb: "transparent", + cycle: false, + }, + { + authored: "unset", + name: "unset", + hex: "unset", + hsl: "unset", + rgb: "unset", + hwb: "unset", + cycle: false, + }, + { + authored: "currentcolor", + name: "currentcolor", + hex: "currentcolor", + hsl: "currentcolor", + rgb: "currentcolor", + hwb: "currentcolor", + cycle: false, + }, + { + authored: "accentcolor", + name: "", + hex: "", + hsl: "", + rgb: "", + hwg: "", + cycle: false, + }, + ]; +} +/* eslint-enable max-len */ + +// Allow this function to be shared on mochitests and xpcshell tests. +if (typeof module === "object") { + module.exports = getFixtureColorData; +} |