1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 This file contains the list of all named colors
10 See nsCSSColorNames.h for access to the enum values for colors
12 It is designed to be used as inline input to nsCSSColorNames.cpp *only*
13 through the magic of C preprocessing.
15 All entries must be enclosed in the macro GFX_COLOR which will have cruel
16 and unusual things done to it
18 It is recommended (but not strictly necessary) to keep all entries
21 The first argument to GFX_COLOR is both the enum identifier of the color
23 The second argument is the sRGBA value for the named color
25 'name' entries *must* use only lowercase characters.
27 ** Break these invarient and bad things will happen. **
32 GFX_COLOR(aliceblue
, NS_RGB(240, 248, 255))
33 GFX_COLOR(antiquewhite
, NS_RGB(250, 235, 215))
34 GFX_COLOR(aqua
, NS_RGB(0, 255, 255))
35 GFX_COLOR(aquamarine
, NS_RGB(127, 255, 212))
36 GFX_COLOR(azure
, NS_RGB(240, 255, 255))
37 GFX_COLOR(beige
, NS_RGB(245, 245, 220))
38 GFX_COLOR(bisque
, NS_RGB(255, 228, 196))
39 GFX_COLOR(black
, NS_RGB(0, 0, 0))
40 GFX_COLOR(blanchedalmond
, NS_RGB(255, 235, 205))
41 GFX_COLOR(blue
, NS_RGB(0, 0, 255))
42 GFX_COLOR(blueviolet
, NS_RGB(138, 43, 226))
43 GFX_COLOR(brown
, NS_RGB(165, 42, 42))
44 GFX_COLOR(burlywood
, NS_RGB(222, 184, 135))
45 GFX_COLOR(cadetblue
, NS_RGB(95, 158, 160))
46 GFX_COLOR(chartreuse
, NS_RGB(127, 255, 0))
47 GFX_COLOR(chocolate
, NS_RGB(210, 105, 30))
48 GFX_COLOR(coral
, NS_RGB(255, 127, 80))
49 GFX_COLOR(cornflowerblue
, NS_RGB(100, 149, 237))
50 GFX_COLOR(cornsilk
, NS_RGB(255, 248, 220))
51 GFX_COLOR(crimson
, NS_RGB(220, 20, 60))
52 GFX_COLOR(cyan
, NS_RGB(0, 255, 255))
53 GFX_COLOR(darkblue
, NS_RGB(0, 0, 139))
54 GFX_COLOR(darkcyan
, NS_RGB(0, 139, 139))
55 GFX_COLOR(darkgoldenrod
, NS_RGB(184, 134, 11))
56 GFX_COLOR(darkgray
, NS_RGB(169, 169, 169))
57 GFX_COLOR(darkgreen
, NS_RGB(0, 100, 0))
58 GFX_COLOR(darkgrey
, NS_RGB(169, 169, 169))
59 GFX_COLOR(darkkhaki
, NS_RGB(189, 183, 107))
60 GFX_COLOR(darkmagenta
, NS_RGB(139, 0, 139))
61 GFX_COLOR(darkolivegreen
, NS_RGB(85, 107, 47))
62 GFX_COLOR(darkorange
, NS_RGB(255, 140, 0))
63 GFX_COLOR(darkorchid
, NS_RGB(153, 50, 204))
64 GFX_COLOR(darkred
, NS_RGB(139, 0, 0))
65 GFX_COLOR(darksalmon
, NS_RGB(233, 150, 122))
66 GFX_COLOR(darkseagreen
, NS_RGB(143, 188, 143))
67 GFX_COLOR(darkslateblue
, NS_RGB(72, 61, 139))
68 GFX_COLOR(darkslategray
, NS_RGB(47, 79, 79))
69 GFX_COLOR(darkslategrey
, NS_RGB(47, 79, 79))
70 GFX_COLOR(darkturquoise
, NS_RGB(0, 206, 209))
71 GFX_COLOR(darkviolet
, NS_RGB(148, 0, 211))
72 GFX_COLOR(deeppink
, NS_RGB(255, 20, 147))
73 GFX_COLOR(deepskyblue
, NS_RGB(0, 191, 255))
74 GFX_COLOR(dimgray
, NS_RGB(105, 105, 105))
75 GFX_COLOR(dimgrey
, NS_RGB(105, 105, 105))
76 GFX_COLOR(dodgerblue
, NS_RGB(30, 144, 255))
77 GFX_COLOR(firebrick
, NS_RGB(178, 34, 34))
78 GFX_COLOR(floralwhite
, NS_RGB(255, 250, 240))
79 GFX_COLOR(forestgreen
, NS_RGB(34, 139, 34))
80 GFX_COLOR(fuchsia
, NS_RGB(255, 0, 255))
81 GFX_COLOR(gainsboro
, NS_RGB(220, 220, 220))
82 GFX_COLOR(ghostwhite
, NS_RGB(248, 248, 255))
83 GFX_COLOR(gold
, NS_RGB(255, 215, 0))
84 GFX_COLOR(goldenrod
, NS_RGB(218, 165, 32))
85 GFX_COLOR(gray
, NS_RGB(128, 128, 128))
86 GFX_COLOR(grey
, NS_RGB(128, 128, 128))
87 GFX_COLOR(green
, NS_RGB(0, 128, 0))
88 GFX_COLOR(greenyellow
, NS_RGB(173, 255, 47))
89 GFX_COLOR(honeydew
, NS_RGB(240, 255, 240))
90 GFX_COLOR(hotpink
, NS_RGB(255, 105, 180))
91 GFX_COLOR(indianred
, NS_RGB(205, 92, 92))
92 GFX_COLOR(indigo
, NS_RGB(75, 0, 130))
93 GFX_COLOR(ivory
, NS_RGB(255, 255, 240))
94 GFX_COLOR(khaki
, NS_RGB(240, 230, 140))
95 GFX_COLOR(lavender
, NS_RGB(230, 230, 250))
96 GFX_COLOR(lavenderblush
, NS_RGB(255, 240, 245))
97 GFX_COLOR(lawngreen
, NS_RGB(124, 252, 0))
98 GFX_COLOR(lemonchiffon
, NS_RGB(255, 250, 205))
99 GFX_COLOR(lightblue
, NS_RGB(173, 216, 230))
100 GFX_COLOR(lightcoral
, NS_RGB(240, 128, 128))
101 GFX_COLOR(lightcyan
, NS_RGB(224, 255, 255))
102 GFX_COLOR(lightgoldenrodyellow
, NS_RGB(250, 250, 210))
103 GFX_COLOR(lightgray
, NS_RGB(211, 211, 211))
104 GFX_COLOR(lightgreen
, NS_RGB(144, 238, 144))
105 GFX_COLOR(lightgrey
, NS_RGB(211, 211, 211))
106 GFX_COLOR(lightpink
, NS_RGB(255, 182, 193))
107 GFX_COLOR(lightsalmon
, NS_RGB(255, 160, 122))
108 GFX_COLOR(lightseagreen
, NS_RGB(32, 178, 170))
109 GFX_COLOR(lightskyblue
, NS_RGB(135, 206, 250))
110 GFX_COLOR(lightslategray
, NS_RGB(119, 136, 153))
111 GFX_COLOR(lightslategrey
, NS_RGB(119, 136, 153))
112 GFX_COLOR(lightsteelblue
, NS_RGB(176, 196, 222))
113 GFX_COLOR(lightyellow
, NS_RGB(255, 255, 224))
114 GFX_COLOR(lime
, NS_RGB(0, 255, 0))
115 GFX_COLOR(limegreen
, NS_RGB(50, 205, 50))
116 GFX_COLOR(linen
, NS_RGB(250, 240, 230))
117 GFX_COLOR(magenta
, NS_RGB(255, 0, 255))
118 GFX_COLOR(maroon
, NS_RGB(128, 0, 0))
119 GFX_COLOR(mediumaquamarine
, NS_RGB(102, 205, 170))
120 GFX_COLOR(mediumblue
, NS_RGB(0, 0, 205))
121 GFX_COLOR(mediumorchid
, NS_RGB(186, 85, 211))
122 GFX_COLOR(mediumpurple
, NS_RGB(147, 112, 219))
123 GFX_COLOR(mediumseagreen
, NS_RGB(60, 179, 113))
124 GFX_COLOR(mediumslateblue
, NS_RGB(123, 104, 238))
125 GFX_COLOR(mediumspringgreen
, NS_RGB(0, 250, 154))
126 GFX_COLOR(mediumturquoise
, NS_RGB(72, 209, 204))
127 GFX_COLOR(mediumvioletred
, NS_RGB(199, 21, 133))
128 GFX_COLOR(midnightblue
, NS_RGB(25, 25, 112))
129 GFX_COLOR(mintcream
, NS_RGB(245, 255, 250))
130 GFX_COLOR(mistyrose
, NS_RGB(255, 228, 225))
131 GFX_COLOR(moccasin
, NS_RGB(255, 228, 181))
132 GFX_COLOR(navajowhite
, NS_RGB(255, 222, 173))
133 GFX_COLOR(navy
, NS_RGB(0, 0, 128))
134 GFX_COLOR(oldlace
, NS_RGB(253, 245, 230))
135 GFX_COLOR(olive
, NS_RGB(128, 128, 0))
136 GFX_COLOR(olivedrab
, NS_RGB(107, 142, 35))
137 GFX_COLOR(orange
, NS_RGB(255, 165, 0))
138 GFX_COLOR(orangered
, NS_RGB(255, 69, 0))
139 GFX_COLOR(orchid
, NS_RGB(218, 112, 214))
140 GFX_COLOR(palegoldenrod
, NS_RGB(238, 232, 170))
141 GFX_COLOR(palegreen
, NS_RGB(152, 251, 152))
142 GFX_COLOR(paleturquoise
, NS_RGB(175, 238, 238))
143 GFX_COLOR(palevioletred
, NS_RGB(219, 112, 147))
144 GFX_COLOR(papayawhip
, NS_RGB(255, 239, 213))
145 GFX_COLOR(peachpuff
, NS_RGB(255, 218, 185))
146 GFX_COLOR(peru
, NS_RGB(205, 133, 63))
147 GFX_COLOR(pink
, NS_RGB(255, 192, 203))
148 GFX_COLOR(plum
, NS_RGB(221, 160, 221))
149 GFX_COLOR(powderblue
, NS_RGB(176, 224, 230))
150 GFX_COLOR(purple
, NS_RGB(128, 0, 128))
151 GFX_COLOR(rebeccapurple
, NS_RGB(102, 51, 153))
152 GFX_COLOR(red
, NS_RGB(255, 0, 0))
153 GFX_COLOR(rosybrown
, NS_RGB(188, 143, 143))
154 GFX_COLOR(royalblue
, NS_RGB(65, 105, 225))
155 GFX_COLOR(saddlebrown
, NS_RGB(139, 69, 19))
156 GFX_COLOR(salmon
, NS_RGB(250, 128, 114))
157 GFX_COLOR(sandybrown
, NS_RGB(244, 164, 96))
158 GFX_COLOR(seagreen
, NS_RGB(46, 139, 87))
159 GFX_COLOR(seashell
, NS_RGB(255, 245, 238))
160 GFX_COLOR(sienna
, NS_RGB(160, 82, 45))
161 GFX_COLOR(silver
, NS_RGB(192, 192, 192))
162 GFX_COLOR(skyblue
, NS_RGB(135, 206, 235))
163 GFX_COLOR(slateblue
, NS_RGB(106, 90, 205))
164 GFX_COLOR(slategray
, NS_RGB(112, 128, 144))
165 GFX_COLOR(slategrey
, NS_RGB(112, 128, 144))
166 GFX_COLOR(snow
, NS_RGB(255, 250, 250))
167 GFX_COLOR(springgreen
, NS_RGB(0, 255, 127))
168 GFX_COLOR(steelblue
, NS_RGB(70, 130, 180))
169 GFX_COLOR(tan
, NS_RGB(210, 180, 140))
170 GFX_COLOR(teal
, NS_RGB(0, 128, 128))
171 GFX_COLOR(thistle
, NS_RGB(216, 191, 216))
172 GFX_COLOR(tomato
, NS_RGB(255, 99, 71))
173 GFX_COLOR(transparent
, NS_RGBA(0, 0, 0, 0))
174 GFX_COLOR(turquoise
, NS_RGB(64, 224, 208))
175 GFX_COLOR(violet
, NS_RGB(238, 130, 238))
176 GFX_COLOR(wheat
, NS_RGB(245, 222, 179))
177 GFX_COLOR(white
, NS_RGB(255, 255, 255))
178 GFX_COLOR(whitesmoke
, NS_RGB(245, 245, 245))
179 GFX_COLOR(yellow
, NS_RGB(255, 255, 0))
180 GFX_COLOR(yellowgreen
, NS_RGB(154, 205, 50))