nux-0.9.46
|
00001 /* 00002 * Copyright 2010 Inalogic® Inc. 00003 * 00004 * This program is free software: you can redistribute it and/or modify it 00005 * under the terms of the GNU Lesser General Public License, as 00006 * published by the Free Software Foundation; either version 2.1 or 3.0 00007 * of the License. 00008 * 00009 * This program is distributed in the hope that it will be useful, but 00010 * WITHOUT ANY WARRANTY; without even the implied warranties of 00011 * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR 00012 * PURPOSE. See the applicable version of the GNU Lesser General Public 00013 * License for more details. 00014 * 00015 * You should have received a copy of both the GNU Lesser General Public 00016 * License along with this program. If not, see <http://www.gnu.org/licenses/> 00017 * 00018 * Authored by: Jay Taoko <jaytaoko@inalogic.com> 00019 * 00020 */ 00021 00022 00023 #ifndef COLORS_H 00024 #define COLORS_H 00025 00026 #include "SystemTypes.h" 00027 00028 namespace nux 00029 { 00030 namespace Colors 00031 { 00032 //X11 color names from:http://en.wikipedia.org/wiki/Web_colors 00033 00034 //Red colors 00035 extern const Color IndianRed ;// CD 5C 5C 205 92 92 00036 extern const Color LightCoral ;// F0 80 80 240 128 128 00037 extern const Color Salmon ;// FA 80 72 250 128 114 00038 extern const Color DarkSalmon ;// E9 96 7A 233 150 122 00039 extern const Color LightSalmon ;// FF A0 7A 255 160 122 00040 extern const Color Crimson ;// DC 14 3C 220 20 60 00041 extern const Color Red ;// FF 00 00 255 0 0 00042 extern const Color FireBrick ;// B2 22 22 178 34 34 00043 extern const Color DarkRed ;// 8B 00 00 139 0 0 00044 00045 //Pink colors 00046 extern const Color Pink ;// FF C0 CB 255 192 203 00047 extern const Color LightPink ;// FF B6 C1 255 182 193 00048 extern const Color HotPink ;// FF 69 B4 255 105 180 00049 extern const Color DeepPink ;// FF 14 93 255 20 147 00050 extern const Color MediumVioletRed ;// C7 15 85 199 21 133 00051 extern const Color PaleVioletRed ;// DB 70 93 219 112 147 00052 00053 //Orange colors ;// 00054 //extern const Color LightSalmon ;// FF A0 7A 255 160 122 00055 extern const Color Coral ;// FF 7F 50 255 127 80 00056 extern const Color Tomato ;// FF 63 47 255 99 71 00057 extern const Color OrangeRed ;// FF 45 00 255 69 0 00058 extern const Color DarkOrange ;// FF 8C 00 255 140 0 00059 extern const Color Orange ;// FF A5 00 255 165 0 00060 00061 //Yellow colors ;// 00062 extern const Color Gold ;// FF D7 00 255 215 0 00063 extern const Color Yellow ;// FF FF 00 255 255 0 00064 extern const Color LightYellow ;// FF FF E0 255 255 224 00065 extern const Color LemonChiffon ;// FF FA CD 255 250 205 00066 extern const Color LightGoldenrodYellow;// FA FA D2 250 250 210 00067 extern const Color PapayaWhip ;// FF EF D5 255 239 213 00068 extern const Color Moccasin ;// FF E4 B5 255 228 181 00069 extern const Color PeachPuff ;// FF DA B9 255 218 185 00070 extern const Color PaleGoldenrod ;// EE E8 AA 238 232 170 00071 extern const Color Khaki ;// F0 E6 8C 240 230 140 00072 extern const Color DarkKhaki ;// BD B7 6B 189 183 107 00073 00074 //Purple colors 00075 extern const Color Lavender ;// E6 E6 FA 230 230 250 00076 extern const Color Thistle ;// D8 BF D8 216 191 216 00077 extern const Color Plum ;// DD A0 DD 221 160 221 00078 extern const Color Violet ;// EE 82 EE 238 130 238 00079 extern const Color Orchid ;// DA 70 D6 218 112 214 00080 extern const Color Fuchsia ;// FF 00 FF 255 0 255 00081 extern const Color Magenta ;// FF 00 FF 255 0 255 00082 extern const Color MediumOrchid ;// BA 55 D3 186 85 211 00083 extern const Color MediumPurple ;// 93 70 DB 147 112 219 00084 extern const Color BlueViolet ;// 8A 2B E2 138 43 226 00085 extern const Color DarkViolet ;// 94 00 D3 148 0 211 00086 extern const Color DarkOrchid ;// 99 32 CC 153 50 204 00087 extern const Color DarkMagenta ;// 8B 00 8B 139 0 139 00088 extern const Color Purple ;// 80 00 80 128 0 128 00089 extern const Color Indigo ;// 4B 00 82 75 0 130 00090 extern const Color SlateBlue ;// 6A 5A CD 106 90 205 00091 extern const Color DarkSlateBlue ;// 48 3D 8B 72 61 139 00092 00093 //Green colors 00094 extern const Color GreenYellow ;// AD FF 2F 173 255 47 00095 extern const Color Chartreuse ;// 7F FF 00 127 255 0 00096 extern const Color LawnGreen ;// 7C FC 00 124 252 0 00097 extern const Color Lime ;// 00 FF 00 0 255 0 00098 extern const Color LimeGreen ;// 32 CD 32 50 205 50 00099 extern const Color PaleGreen ;// 98 FB 98 152 251 152 00100 extern const Color LightGreen ;// 90 EE 90 144 238 144 00101 extern const Color MediumSpringGreen ;// 00 FA 9A 0 250 154 00102 extern const Color SpringGreen ;// 00 FF 7F 0 255 127 00103 extern const Color MediumSeaGreen ;// 3C B3 71 60 179 113 00104 extern const Color SeaGreen ;// 2E 8B 57 46 139 87 00105 extern const Color ForestGreen ;// 22 8B 22 34 139 34 00106 extern const Color Green ;// 00 80 00 0 128 0 00107 extern const Color DarkGreen ;// 00 64 00 0 100 0 00108 extern const Color YellowGreen ;// 9A CD 32 154 205 50 00109 extern const Color OliveDrab ;// 6B 8E 23 107 142 35 00110 extern const Color Olive ;// 80 80 00 128 128 0 00111 extern const Color DarkOliveGreen ;// 55 6B 2F 85 107 47 00112 extern const Color MediumAquamarine ;// 66 CD AA 102 205 170 00113 extern const Color DarkSeaGreen ;// 8F BC 8F 143 188 143 00114 extern const Color LightSeaGreen ;// 20 B2 AA 32 178 170 00115 extern const Color DarkCyan ;// 00 8B 8B 0 139 139 00116 extern const Color Teal ;// 00 80 80 0 128 128 00117 00118 //Blue colors ;// 00119 extern const Color Aqua ;// 00 FF FF 0 255 255 00120 extern const Color Cyan ;// 00 FF FF 0 255 255 00121 extern const Color LightCyan ;// E0 FF FF 224 255 255 00122 extern const Color PaleTurquoise ;// AF EE EE 175 238 238 00123 extern const Color Aquamarine ;// 7F FF D4 127 255 212 00124 extern const Color Turquoise ;// 40 E0 D0 64 224 208 00125 extern const Color MediumTurquoise ;// 48 D1 CC 72 209 204 00126 extern const Color DarkTurquoise ;// 00 CE D1 0 206 209 00127 extern const Color CadetBlue ;// 5F 9E A0 95 158 160 00128 extern const Color SteelBlue ;// 46 82 B4 70 130 180 00129 extern const Color LightSteelBlue ;// B0 C4 DE 176 196 222 00130 extern const Color PowderBlue ;// B0 E0 E6 176 224 230 00131 extern const Color LightBlue ;// AD D8 E6 173 216 230 00132 extern const Color SkyBlue ;// 87 CE EB 135 206 235 00133 extern const Color LightSkyBlue ;// 87 CE FA 135 206 250 00134 extern const Color DeepSkyBlue ;// 00 BF FF 0 191 255 00135 extern const Color DodgerBlue ;// 1E 90 FF 30 144 255 00136 extern const Color CornflowerBlue ;// 64 95 ED 100 149 237 00137 extern const Color MediumSlateBlue ;// 7B 68 EE 123 104 238 00138 extern const Color RoyalBlue ;// 41 69 E1 65 105 225 00139 extern const Color Blue ;// 00 00 FF 0 0 255 00140 extern const Color MediumBlue ;// 00 00 CD 0 0 205 00141 extern const Color DarkBlue ;// 00 00 8B 0 0 139 00142 extern const Color Navy ;// 00 00 80 0 0 128 00143 extern const Color MidnightBlue ;// 19 19 70 25 25 112 00144 00145 //Brown colors ;// 00146 extern const Color Cornsilk ;// FF F8 DC 255 248 220 00147 extern const Color BlanchedAlmond ;// FF EB CD 255 235 205 00148 extern const Color Bisque ;// FF E4 C4 255 228 196 00149 extern const Color NavajoWhite ;// FF DE AD 255 222 173 00150 extern const Color Wheat ;// F5 DE B3 245 222 179 00151 extern const Color BurlyWood ;// DE B8 87 222 184 135 00152 extern const Color Tan ;// D2 B4 8C 210 180 140 00153 extern const Color RosyBrown ;// BC 8F 8F 188 143 143 00154 extern const Color SandyBrown ;// F4 A4 60 244 164 96 00155 extern const Color Goldenrod ;// DA A5 20 218 165 32 00156 extern const Color DarkGoldenrod ;// B8 86 0B 184 134 11 00157 extern const Color Peru ;// CD 85 3F 205 133 63 00158 extern const Color Chocolate ;// D2 69 1E 210 105 30 00159 extern const Color SaddleBrown ;// 8B 45 13 139 69 19 00160 extern const Color Sienna ;// A0 52 2D 160 82 45 00161 extern const Color Brown ;// A5 2A 2A 165 42 42 00162 extern const Color Maroon ;// 80 00 00 128 0 0 00163 00164 //White colors ;// 00165 extern const Color White ;// FF FF FF 255 255 255 00166 extern const Color Snow ;// FF FA FA 255 250 250 00167 extern const Color Honeydew ;// F0 FF F0 240 255 240 00168 extern const Color MintCream ;// F5 FF FA 245 255 250 00169 extern const Color Azure ;// F0 FF FF 240 255 255 00170 extern const Color AliceBlue ;// F0 F8 FF 240 248 255 00171 extern const Color GhostWhite ;// F8 F8 FF 248 248 255 00172 extern const Color WhiteSmoke ;// F5 F5 F5 245 245 245 00173 extern const Color Seashell ;// FF F5 EE 255 245 238 00174 extern const Color Beige ;// F5 F5 DC 245 245 220 00175 extern const Color OldLace ;// FD F5 E6 253 245 230 00176 extern const Color FloralWhite ;// FF FA F0 255 250 240 00177 extern const Color Ivory ;// FF FF F0 255 255 240 00178 extern const Color AntiqueWhite ;// FA EB D7 250 235 215 00179 extern const Color Linen ;// FA F0 E6 250 240 230 00180 extern const Color LavenderBlush ;// FF F0 F5 255 240 245 00181 extern const Color MistyRose ;// FF E4 E1 255 228 225 00182 00183 //Grey colors ;// 00184 extern const Color Gainsboro ;// DC DC DC 220 220 220 00185 extern const Color LightGrey ;// D3 D3 D3 211 211 211 00186 extern const Color Silver ;// C0 C0 C0 192 192 192 00187 extern const Color DarkGray ;// A9 A9 A9 169 169 169 00188 extern const Color Gray ;// 80 80 80 128 128 128 00189 extern const Color DimGray ;// 69 69 69 105 105 105 00190 extern const Color LightSlateGray ;// 77 88 99 119 136 153 00191 extern const Color SlateGray ;// 70 80 90 112 128 144 00192 extern const Color DarkSlateGray ;// 2F 4F 4F 47 79 79 00193 extern const Color Black ;// 00 00 00 0 0 0 00194 00195 // More Colors 00196 extern const Color Aubergine ;// 2B 0B 30 43 11 48 00197 } 00198 } 00199 00200 #endif // COLORS_H 00201