Back to index

lightning-sunbird  0.9+nobinonly
nsColorNameList.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is mozilla.org code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1999
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either of the GNU General Public License Version 2 or later (the "GPL"),
00026  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00027  * in which case the provisions of the GPL or the LGPL are applicable instead
00028  * of those above. If you wish to allow use of your version of this file only
00029  * under the terms of either the GPL or the LGPL, and not to allow others to
00030  * use your version of this file under the terms of the MPL, indicate your
00031  * decision by deleting the provisions above and replace them with the notice
00032  * and other provisions required by the GPL or the LGPL. If you do not delete
00033  * the provisions above, a recipient may use your version of this file under
00034  * the terms of any one of the MPL, the GPL or the LGPL.
00035  *
00036  * ***** END LICENSE BLOCK ***** */
00037 
00038 /******
00039 
00040   This file contains the list of all named colors
00041   See nsCSSColorNames.h for access to the enum values for colors
00042 
00043   It is designed to be used as inline input to nsCSSColorNames.cpp *only*
00044   through the magic of C preprocessing.
00045 
00046   All entires must be enclosed in the macro GFX_COLOR which will have cruel
00047   and unusual things done to it
00048 
00049   It is recommended (but not strictly necessary) to keep all entries
00050   in alphabetical order
00051 
00052   The first argument to GFX_COLOR is both the enum identifier of the color
00053   and the string value
00054   The second argument is the sRGBA value for the named color
00055 
00056   'name' entries *must* use only lowercase characters.
00057 
00058   ** Break these invarient and bad things will happen. **    
00059 
00060 
00061  ******/
00062 
00063 
00064 GFX_COLOR(aliceblue, NS_RGB(240, 248, 255))
00065 GFX_COLOR(antiquewhite, NS_RGB(250, 235, 215))
00066 GFX_COLOR(aqua, NS_RGB(  0, 255, 255))
00067 GFX_COLOR(aquamarine, NS_RGB(127, 255, 212))
00068 GFX_COLOR(azure, NS_RGB(240, 255, 255))
00069 GFX_COLOR(beige, NS_RGB(245, 245, 220))
00070 GFX_COLOR(bisque, NS_RGB(255, 228, 196))
00071 GFX_COLOR(black, NS_RGB(  0,   0,   0))
00072 GFX_COLOR(blanchedalmond, NS_RGB(255, 235, 205))
00073 GFX_COLOR(blue, NS_RGB(  0,   0, 255))
00074 GFX_COLOR(blueviolet, NS_RGB(138,  43, 226))
00075 GFX_COLOR(brown, NS_RGB(165,  42,  42))
00076 GFX_COLOR(burlywood, NS_RGB(222, 184, 135))
00077 GFX_COLOR(cadetblue, NS_RGB( 95, 158, 160))
00078 GFX_COLOR(chartreuse, NS_RGB(127, 255,   0))
00079 GFX_COLOR(chocolate, NS_RGB(210, 105,  30))
00080 GFX_COLOR(coral, NS_RGB(255, 127,  80))
00081 GFX_COLOR(cornflowerblue, NS_RGB(100, 149, 237))
00082 GFX_COLOR(cornsilk, NS_RGB(255, 248, 220))
00083 GFX_COLOR(crimson, NS_RGB(220,  20,  60))
00084 GFX_COLOR(cyan, NS_RGB(  0, 255, 255))
00085 GFX_COLOR(darkblue, NS_RGB(  0,   0, 139))
00086 GFX_COLOR(darkcyan, NS_RGB(  0, 139, 139))
00087 GFX_COLOR(darkgoldenrod, NS_RGB(184, 134,  11))
00088 GFX_COLOR(darkgray, NS_RGB(169, 169, 169))
00089 GFX_COLOR(darkgreen, NS_RGB(  0, 100,   0))
00090 GFX_COLOR(darkgrey, NS_RGB(169, 169, 169))
00091 GFX_COLOR(darkkhaki, NS_RGB(189, 183, 107))
00092 GFX_COLOR(darkmagenta, NS_RGB(139,   0, 139))
00093 GFX_COLOR(darkolivegreen, NS_RGB( 85, 107,  47))
00094 GFX_COLOR(darkorange, NS_RGB(255, 140,   0))
00095 GFX_COLOR(darkorchid, NS_RGB(153,  50, 204))
00096 GFX_COLOR(darkred, NS_RGB(139,   0,   0))
00097 GFX_COLOR(darksalmon, NS_RGB(233, 150, 122))
00098 GFX_COLOR(darkseagreen, NS_RGB(143, 188, 143))
00099 GFX_COLOR(darkslateblue, NS_RGB( 72,  61, 139))
00100 GFX_COLOR(darkslategray, NS_RGB( 47,  79,  79))
00101 GFX_COLOR(darkslategrey, NS_RGB( 47,  79,  79))
00102 GFX_COLOR(darkturquoise, NS_RGB(  0, 206, 209))
00103 GFX_COLOR(darkviolet, NS_RGB(148,   0, 211))
00104 GFX_COLOR(deeppink, NS_RGB(255,  20, 147))
00105 GFX_COLOR(deepskyblue, NS_RGB(  0, 191, 255))
00106 GFX_COLOR(dimgray, NS_RGB(105, 105, 105))
00107 GFX_COLOR(dimgrey, NS_RGB(105, 105, 105))
00108 GFX_COLOR(dodgerblue, NS_RGB( 30, 144, 255))
00109 GFX_COLOR(firebrick, NS_RGB(178,  34,  34))
00110 GFX_COLOR(floralwhite, NS_RGB(255, 250, 240))
00111 GFX_COLOR(forestgreen, NS_RGB( 34, 139,  34))
00112 GFX_COLOR(fuchsia, NS_RGB(255,   0, 255))
00113 GFX_COLOR(gainsboro, NS_RGB(220, 220, 220))
00114 GFX_COLOR(ghostwhite, NS_RGB(248, 248, 255))
00115 GFX_COLOR(gold, NS_RGB(255, 215,   0))
00116 GFX_COLOR(goldenrod, NS_RGB(218, 165,  32))
00117 GFX_COLOR(gray, NS_RGB(128, 128, 128))
00118 GFX_COLOR(grey, NS_RGB(128, 128, 128))
00119 GFX_COLOR(green, NS_RGB(  0, 128,   0))
00120 GFX_COLOR(greenyellow, NS_RGB(173, 255,  47))
00121 GFX_COLOR(honeydew, NS_RGB(240, 255, 240))
00122 GFX_COLOR(hotpink, NS_RGB(255, 105, 180))
00123 GFX_COLOR(indianred, NS_RGB(205,  92,  92))
00124 GFX_COLOR(indigo, NS_RGB( 75,   0, 130))
00125 GFX_COLOR(ivory, NS_RGB(255, 255, 240))
00126 GFX_COLOR(khaki, NS_RGB(240, 230, 140))
00127 GFX_COLOR(lavender, NS_RGB(230, 230, 250))
00128 GFX_COLOR(lavenderblush, NS_RGB(255, 240, 245))
00129 GFX_COLOR(lawngreen, NS_RGB(124, 252,   0))
00130 GFX_COLOR(lemonchiffon, NS_RGB(255, 250, 205))
00131 GFX_COLOR(lightblue, NS_RGB(173, 216, 230))
00132 GFX_COLOR(lightcoral, NS_RGB(240, 128, 128))
00133 GFX_COLOR(lightcyan, NS_RGB(224, 255, 255))
00134 GFX_COLOR(lightgoldenrodyellow, NS_RGB(250, 250, 210))
00135 GFX_COLOR(lightgray, NS_RGB(211, 211, 211))
00136 GFX_COLOR(lightgreen, NS_RGB(144, 238, 144))
00137 GFX_COLOR(lightgrey, NS_RGB(211, 211, 211))
00138 GFX_COLOR(lightpink, NS_RGB(255, 182, 193))
00139 GFX_COLOR(lightsalmon, NS_RGB(255, 160, 122))
00140 GFX_COLOR(lightseagreen, NS_RGB( 32, 178, 170))
00141 GFX_COLOR(lightskyblue, NS_RGB(135, 206, 250))
00142 GFX_COLOR(lightslategray, NS_RGB(119, 136, 153))
00143 GFX_COLOR(lightslategrey, NS_RGB(119, 136, 153))
00144 GFX_COLOR(lightsteelblue, NS_RGB(176, 196, 222))
00145 GFX_COLOR(lightyellow, NS_RGB(255, 255, 224))
00146 GFX_COLOR(lime, NS_RGB(  0, 255,   0))
00147 GFX_COLOR(limegreen, NS_RGB( 50, 205,  50))
00148 GFX_COLOR(linen, NS_RGB(250, 240, 230))
00149 GFX_COLOR(magenta, NS_RGB(255,   0, 255))
00150 GFX_COLOR(maroon, NS_RGB(128,   0,   0))
00151 GFX_COLOR(mediumaquamarine, NS_RGB(102, 205, 170))
00152 GFX_COLOR(mediumblue, NS_RGB(  0,   0, 205))
00153 GFX_COLOR(mediumorchid, NS_RGB(186,  85, 211))
00154 GFX_COLOR(mediumpurple, NS_RGB(147, 112, 219))
00155 GFX_COLOR(mediumseagreen, NS_RGB( 60, 179, 113))
00156 GFX_COLOR(mediumslateblue, NS_RGB(123, 104, 238))
00157 GFX_COLOR(mediumspringgreen, NS_RGB(  0, 250, 154))
00158 GFX_COLOR(mediumturquoise, NS_RGB( 72, 209, 204))
00159 GFX_COLOR(mediumvioletred, NS_RGB(199,  21, 133))
00160 GFX_COLOR(midnightblue, NS_RGB( 25,  25, 112))
00161 GFX_COLOR(mintcream, NS_RGB(245, 255, 250))
00162 GFX_COLOR(mistyrose, NS_RGB(255, 228, 225))
00163 GFX_COLOR(moccasin, NS_RGB(255, 228, 181))
00164 GFX_COLOR(navajowhite, NS_RGB(255, 222, 173))
00165 GFX_COLOR(navy, NS_RGB(  0,   0, 128))
00166 GFX_COLOR(oldlace, NS_RGB(253, 245, 230))
00167 GFX_COLOR(olive, NS_RGB(128, 128,   0))
00168 GFX_COLOR(olivedrab, NS_RGB(107, 142,  35))
00169 GFX_COLOR(orange, NS_RGB(255, 165,   0))
00170 GFX_COLOR(orangered, NS_RGB(255,  69,   0))
00171 GFX_COLOR(orchid, NS_RGB(218, 112, 214))
00172 GFX_COLOR(palegoldenrod, NS_RGB(238, 232, 170))
00173 GFX_COLOR(palegreen, NS_RGB(152, 251, 152))
00174 GFX_COLOR(paleturquoise, NS_RGB(175, 238, 238))
00175 GFX_COLOR(palevioletred, NS_RGB(219, 112, 147))
00176 GFX_COLOR(papayawhip, NS_RGB(255, 239, 213))
00177 GFX_COLOR(peachpuff, NS_RGB(255, 218, 185))
00178 GFX_COLOR(peru, NS_RGB(205, 133,  63))
00179 GFX_COLOR(pink, NS_RGB(255, 192, 203))
00180 GFX_COLOR(plum, NS_RGB(221, 160, 221))
00181 GFX_COLOR(powderblue, NS_RGB(176, 224, 230))
00182 GFX_COLOR(purple, NS_RGB(128,   0, 128))
00183 GFX_COLOR(red, NS_RGB(255,   0,   0))
00184 GFX_COLOR(rosybrown, NS_RGB(188, 143, 143))
00185 GFX_COLOR(royalblue, NS_RGB( 65, 105, 225))
00186 GFX_COLOR(saddlebrown, NS_RGB(139,  69,  19))
00187 GFX_COLOR(salmon, NS_RGB(250, 128, 114))
00188 GFX_COLOR(sandybrown, NS_RGB(244, 164,  96))
00189 GFX_COLOR(seagreen, NS_RGB( 46, 139,  87))
00190 GFX_COLOR(seashell, NS_RGB(255, 245, 238))
00191 GFX_COLOR(sienna, NS_RGB(160,  82,  45))
00192 GFX_COLOR(silver, NS_RGB(192, 192, 192))
00193 GFX_COLOR(skyblue, NS_RGB(135, 206, 235))
00194 GFX_COLOR(slateblue, NS_RGB(106,  90, 205))
00195 GFX_COLOR(slategray, NS_RGB(112, 128, 144))
00196 GFX_COLOR(slategrey, NS_RGB(112, 128, 144))
00197 GFX_COLOR(snow, NS_RGB(255, 250, 250))
00198 GFX_COLOR(springgreen, NS_RGB(  0, 255, 127))
00199 GFX_COLOR(steelblue, NS_RGB( 70, 130, 180))
00200 GFX_COLOR(tan, NS_RGB(210, 180, 140))
00201 GFX_COLOR(teal, NS_RGB(  0, 128, 128))
00202 GFX_COLOR(thistle, NS_RGB(216, 191, 216))
00203 GFX_COLOR(tomato, NS_RGB(255,  99,  71))
00204 GFX_COLOR(turquoise, NS_RGB( 64, 224, 208))
00205 GFX_COLOR(violet, NS_RGB(238, 130, 238))
00206 GFX_COLOR(wheat, NS_RGB(245, 222, 179))
00207 GFX_COLOR(white, NS_RGB(255, 255, 255))
00208 GFX_COLOR(whitesmoke, NS_RGB(245, 245, 245))
00209 GFX_COLOR(yellow, NS_RGB(255, 255,   0))
00210 GFX_COLOR(yellowgreen, NS_RGB(154, 205,  50))
00211