Add "darkslategray" and "rebeccapurple" named colors (ref: https://drafts.csswg.org/css-color/#typedef-color)

This commit is contained in:
Artem Pavlenko 2020-01-24 15:26:10 +00:00
parent 7e604ed8b0
commit c7d29b826f

View file

@ -101,6 +101,7 @@ struct named_colors_ : x3::symbols<color>
("darksalmon", color(233, 150, 122)) ("darksalmon", color(233, 150, 122))
("darkseagreen", color(143, 188, 143)) ("darkseagreen", color(143, 188, 143))
("darkslateblue", color(72, 61, 139)) ("darkslateblue", color(72, 61, 139))
("darkslategray", color(47, 79, 79))
("darkslategrey", color(47, 79, 79)) ("darkslategrey", color(47, 79, 79))
("darkturquoise", color(0, 206, 209)) ("darkturquoise", color(0, 206, 209))
("darkviolet", color(148, 0, 211)) ("darkviolet", color(148, 0, 211))
@ -118,9 +119,9 @@ struct named_colors_ : x3::symbols<color>
("gold", color(255, 215, 0)) ("gold", color(255, 215, 0))
("goldenrod", color(218, 165, 32)) ("goldenrod", color(218, 165, 32))
("gray", color(128, 128, 128)) ("gray", color(128, 128, 128))
("grey", color(128, 128, 128))
("green", color(0, 128, 0)) ("green", color(0, 128, 0))
("greenyellow", color(173, 255, 47)) ("greenyellow", color(173, 255, 47))
("grey", color(128, 128, 128))
("honeydew", color(240, 255, 240)) ("honeydew", color(240, 255, 240))
("hotpink", color(255, 105, 180)) ("hotpink", color(255, 105, 180))
("indianred", color(205, 92, 92)) ("indianred", color(205, 92, 92))
@ -183,6 +184,7 @@ struct named_colors_ : x3::symbols<color>
("plum", color(221, 160, 221)) ("plum", color(221, 160, 221))
("powderblue", color(176, 224, 230)) ("powderblue", color(176, 224, 230))
("purple", color(128, 0, 128)) ("purple", color(128, 0, 128))
("rebeccapurple", color(102, 51, 153))
("red", color(255, 0, 0)) ("red", color(255, 0, 0))
("rosybrown", color(188, 143, 143)) ("rosybrown", color(188, 143, 143))
("royalblue", color(65, 105, 225)) ("royalblue", color(65, 105, 225))