3 #include "platform/graphics/Color.h"
15 %define class-name ColorDataHash
16 %define lookup-function-name findColorImpl
17 %define hash-function-name colordata_hash_function
21 antiquewhite, 0xfffaebd7
23 aquamarine, 0xff7fffd4
28 blanchedalmond, 0xffffebcd
30 blueviolet, 0xff8a2be2
34 chartreuse, 0xff7fff00
37 cornflowerblue, 0xff6495ed
43 darkgoldenrod, 0xffb8860b
48 darkmagenta, 0xff8b008b
49 darkolivegreen, 0xff556b2f
50 darkorange, 0xffff8c00
51 darkorchid, 0xff9932cc
53 darksalmon, 0xffe9967a
54 darkseagreen, 0xff8fbc8f
55 darkslateblue, 0xff483d8b
56 darkslategray, 0xff2f4f4f
57 darkslategrey, 0xff2f4f4f
58 darkturquoise, 0xff00ced1
59 darkviolet, 0xff9400d3
61 deepskyblue, 0xff00bfff
64 dodgerblue, 0xff1e90ff
66 floralwhite, 0xfffffaf0
67 forestgreen, 0xff228b22
70 ghostwhite, 0xfff8f8ff
76 greenyellow, 0xffadff2f
84 lavenderblush, 0xfffff0f5
86 lemonchiffon, 0xfffffacd
88 lightcoral, 0xfff08080
90 lightgoldenrodyellow, 0xfffafad2
93 lightgreen, 0xff90ee90
95 lightsalmon, 0xffffa07a
96 lightseagreen, 0xff20b2aa
97 lightskyblue, 0xff87cefa
98 lightslateblue, 0xff8470ff
99 lightslategray, 0xff778899
100 lightslategrey, 0xff778899
101 lightsteelblue, 0xffb0c4de
102 lightyellow, 0xffffffe0
104 limegreen, 0xff32cd32
108 mediumaquamarine, 0xff66cdaa
109 mediumblue, 0xff0000cd
110 mediumorchid, 0xffba55d3
111 mediumpurple, 0xff9370db
112 mediumseagreen, 0xff3cb371
113 mediumslateblue, 0xff7b68ee
114 mediumspringgreen, 0xff00fa9a
115 mediumturquoise, 0xff48d1cc
116 mediumvioletred, 0xffc71585
117 midnightblue, 0xff191970
118 mintcream, 0xfff5fffa
119 mistyrose, 0xffffe4e1
121 navajowhite, 0xffffdead
125 olivedrab, 0xff6b8e23
127 orangered, 0xffff4500
129 palegoldenrod, 0xffeee8aa
130 palegreen, 0xff98fb98
131 paleturquoise, 0xffafeeee
132 palevioletred, 0xffdb7093
133 papayawhip, 0xffffefd5
134 peachpuff, 0xffffdab9
138 powderblue, 0xffb0e0e6
140 rebeccapurple, 0xff663399
142 rosybrown, 0xffbc8f8f
143 royalblue, 0xff4169e1
144 saddlebrown, 0xff8b4513
146 sandybrown, 0xfff4a460
152 slateblue, 0xff6a5acd
153 slategray, 0xff708090
154 slategrey, 0xff708090
156 springgreen, 0xff00ff7f
157 steelblue, 0xff4682b4
162 transparent, 0x00000000
163 turquoise, 0xff40e0d0
165 violetred, 0xffd02090
168 whitesmoke, 0xfff5f5f5
170 yellowgreen, 0xff9acd32
172 const struct NamedColor* findColor(register const char* str, register unsigned len)
174 return ColorDataHash::findColorImpl(str, len);