Back to index

plt-scheme  4.2.1
DBColors.inc
Go to the documentation of this file.
00001 
00002 /*
00003 
00004 ; Generating source:
00005 
00006 (require (lib "list.ss") (lib "string.ss"))
00007 
00008 ;; The colors:
00009 
00010 (define l
00011   '(("AliceBlue" 240 248 255)
00012    ("AntiqueWhite" 250 235 215)
00013    ("Aqua" 0 255 255)
00014    ("Azure" 240 255 255)
00015    ("Beige" 245 245 220)
00016    ("Bisque" 255 228 196)
00017    ("BlanchedAlmond" 255 235 205)
00018    ("BlueViolet" 138 43 226)
00019    ("Burlywood" 222 184 135)
00020    ("CadetBlue" 95 158 160)
00021    ("Chartreuse" 127 255 0)
00022    ("Chocolate" 210 105 30)
00023    ("CornflowerBlue" 100 149 237)
00024    ("Cornsilk" 255 248 220)
00025    ("Crimson" 220 20 60)
00026    ("DarkBlue" 0 0 139)
00027    ("DarkCyan" 0 139 139)
00028    ("DarkGoldenrod" 184 134 11)
00029    ("DarkGray" 169 169 169)
00030    ("DarkGreen" 0 100 0)
00031    ("DarkKhaki" 189 183 107)
00032    ("DarkMagenta" 139 0 139)
00033    ("DarkOliveGreen" 85 107 47)
00034    ("DarkOrange" 255 140 0)
00035    ("DarkOrchid" 153 50 204)
00036    ("DarkRed" 139 0 0)
00037    ("DarkSalmon" 233 150 122)
00038    ("DarkSeaGreen" 143 188 139)
00039    ("DarkSlateBlue" 72 61 139)
00040    ("DarkSlateGray" 47 79 79)
00041    ("DarkTurquoise" 0 206 209)
00042    ("DarkViolet" 148 0 211)
00043    ("DeepPink" 255 20 147)
00044    ("DeepSkyBlue" 0 191 255)
00045    ("DimGray" 105 105 105)
00046    ("DodgerBlue" 30 144 255)
00047    ("FloralWhite" 255 250 240)
00048    ("ForestGreen" 34 139 34)
00049    ("Fuchsia" 255 0 255)
00050    ("Gainsboro" 220 220 220)
00051    ("GhostWhite" 248 248 255)
00052    ("GreenYellow" 173 255 47)
00053    ("Honeydew" 240 255 240)
00054    ("HotPink" 255 105 180)
00055    ("IndianRed" 205 92 92)
00056    ("Indigo" 75 0 130)
00057    ("Ivory" 255 255 240)
00058    ("Lavender" 230 230 250)
00059    ("LavenderBlush" 255 240 245)
00060    ("LawnGreen" 124 252 0)
00061    ("LemonChiffon" 255 250 205)
00062    ("LightBlue" 173 216 230)
00063    ("LightCoral" 240 128 128)
00064    ("LightCyan" 224 255 255)
00065    ("LightGoldenrodYellow" 250 250 210)
00066    ("LightGreen" 144 238 144)
00067    ("LightGray" 211 211 211)
00068    ("LightPink" 255 182 193)
00069    ("LightSalmon" 255 160 122)
00070    ("LightSeaGreen" 32 178 170)
00071    ("LightSkyBlue" 135 206 250)
00072    ("LightSlateGray" 119 136 153)
00073    ("LightSteelBlue" 176 196 222)
00074    ("LightYellow" 255 255 224)
00075    ("Lime" 0 255 0)
00076    ("LimeGreen" 50 205 50)
00077    ("Linen" 250 240 230)
00078    ("MediumAquamarine" 102 205 170)
00079    ("MediumBlue" 0 0 205)
00080    ("MediumOrchid" 186 85 211)
00081    ("MediumPurple" 147 112 219)
00082    ("MediumSeaGreen" 60 179 113)
00083    ("MediumSlateBlue" 123 104 238)
00084    ("MediumSpringGreen" 0 250 154)
00085    ("MediumTurquoise" 72 209 204)
00086    ("MediumVioletRed" 199 21 133)
00087    ("MidnightBlue" 25 25 112)
00088    ("MintCream" 245 255 250)
00089    ("MistyRose" 255 228 225)
00090    ("Moccasin" 255 228 181)
00091    ("NavajoWhite" 255 222 173)
00092    ("OldLace" 253 245 230)
00093    ("Olive" 128 128 0)
00094    ("OliveDrab" 107 142 35)
00095    ("OrangeRed" 255 69 0)
00096    ("PaleGoldenrod" 238 232 170)
00097    ("PaleGreen" 152 251 152)
00098    ("PaleTurquoise" 175 238 238)
00099    ("PaleVioletRed" 219 112 147)
00100    ("PapayaWhip" 255 239 213)
00101    ("PeachPuff" 255 218 185)
00102    ("Peru" 205 133 63)
00103    ("PowderBlue" 176 224 230)
00104    ("RosyBrown" 188 143 143)
00105    ("RoyalBlue" 65 105 225)
00106    ("SaddleBrown" 139 69 19)
00107    ("SandyBrown" 244 164 96)
00108    ("SeaGreen" 46 139 87)
00109    ("SeaShell" 255 245 238)
00110    ("Silver" 192 192 192)
00111    ("SkyBlue" 135 206 235)
00112    ("SlateBlue" 106 90 205)
00113    ("SlateGray" 112 128 144)
00114    ("Snow" 255 250 250)
00115    ("SpringGreen" 0 255 127)
00116    ("SteelBlue" 70 130 180)
00117    ("Teal" 0 128 128)
00118    ("Tomato" 255 99 71)
00119    ("WhiteSmoke" 245 245 245)
00120    ("YellowGreen" 154 205 50)
00121  
00122    ("Aquamarine" 112  216  144)
00123    ("Black" 0  0  0)
00124    ("Blue" 0  0  255)
00125    ("Blue Violet" 138  43  226)
00126    ("Brown" 132  60  36)
00127    ("Cadet Blue" 96  160  160)
00128    ("Coral" 255  127  80)
00129    ("Cornflower Blue" 68  64  108)
00130    ("Cyan" 0  255  255)
00131    ("Dark Gray" 169  169  169)
00132    ("Dark Green" 0  100  0)
00133    ("Dark Olive Green" 85  107  47)
00134    ("Dark Orchid" 153  50  204)
00135    ("Dark Slate Blue" 72  61  139)
00136    ("Dark Slate Gray" 47  79  79)
00137    ("Dark Turquoise" 0  206  209)
00138    ("Dim Gray" 105  105  105)
00139    ("Firebrick" 178  34  34)
00140    ("Forest Green" 34  139  34)
00141    ("Gold" 255  215  0)
00142    ("Goldenrod" 218  165  32)
00143    ("Gray" 190  190  190)
00144    ("Green" 0  255  0)
00145    ("Green Yellow" 173  255  47)
00146    ("Indian Red" 205  92  92)
00147    ("Khaki" 240  230  140)
00148    ("Light Blue" 173  216  230)
00149    ("Light Gray" 211  211  211)
00150    ("Light Steel Blue" 176  196  222)
00151    ("Lime Green" 50  205  50)
00152    ("Magenta" 255  0  255)
00153    ("Maroon" 176  48  96)
00154    ("Medium Aquamarine" 102  205  170)
00155    ("Medium Blue" 0  0  205)
00156    ("Medium Forest Green" 107  142  35)
00157    ("MediumForestGreen" 107  142  35)
00158    ("Medium Goldenrod" 234  234  173)
00159    ("MediumGoldenrod" 234  234  173)
00160    ("Medium Orchid" 186  85  211)
00161    ("Medium Sea Green" 60  179  113)
00162    ("Medium Slate Blue" 123  104  238)
00163    ("Medium Spring Green" 0  250  154)
00164    ("Medium Turquoise" 72  209  204)
00165    ("Medium Violet Red" 199  21  133)
00166    ("Midnight Blue" 25  25  112)
00167    ("Navy" 36  36  140)
00168    ("Orange" 255  165  0)
00169    ("Orange Red" 255  69  0)
00170    ("Orchid" 218  112  214)
00171    ("Pale Green" 152  251  152)
00172    ("Pink" 255  192  203)
00173    ("Plum" 221  160  221)
00174    ("Purple" 160  32  240)
00175    ("Red" 255  0  0)
00176    ("Salmon" 250  128  114)
00177    ("Sea Green" 46  139  87)
00178    ("Sienna" 160  82  45)
00179    ("Sky Blue" 135  206  235)
00180    ("Slate Blue" 106  90  205)
00181    ("Spring Green" 0  255  127)
00182    ("Steel Blue" 70  130  180)
00183    ("Tan" 210  180  140)
00184    ("Thistle" 216  191  216)
00185    ("Turquoise" 64  224  208)
00186    ("Violet" 238  130  238)
00187    ("Violet Red" 208  32  144)
00188    ("VioletRed" 208  32  144)
00189    ("Wheat" 245  222  179)
00190    ("White" 255  255  255)
00191    ("Yellow" 255  255  0)
00192    ("Yellow Green" 154  205  50)))
00193 
00194 (define red cadr)
00195 (define green caddr)
00196 (define blue cadddr)
00197 
00198 (define (brightness l)
00199   (sqrt (+ (expt (red l) 2)
00200           (expt (green l) 2)
00201           (expt (cadddr l) 2))))
00202 
00203 (define (redness l) (/ (red l) (add1 (brightness l))))
00204 (define (greeness l) (/ (green l) (add1 (brightness l))))
00205 (define (blueness l) (/ (blue l) (add1 (brightness l))))
00206 
00207 
00208 ;; Sort as:
00209 ;;         bluish
00210 ;;  Red
00211 ;;         greenish
00212 ;; -----
00213 ;;         reddish
00214 ;;  Green
00215 ;;         bluish
00216 ;; -----
00217 ;;         greenish
00218 ;;  Blue
00219 ;;         reddish
00220 (define l2
00221   (sort l (lambda (a b)
00222             (let ([ar (redness a)]
00223                   [ag (greeness a)]
00224                   [ab (blueness a)]
00225                   [br (redness b)]
00226                   [bg (greeness b)]
00227                   [bb (blueness b)])
00228               (cond
00229                [(and (>= ar ag) (> ar ab))
00230                 ;; a is a shade of red
00231                 (cond [(and (>= br bg) (> br bb))
00232                        ;; b is a shade of red
00233                        (cond [(> ag ab)
00234                               ;; a is greener than blue
00235                               (cond [(> bg bb)
00236                                      ;; b is greener than blue
00237                                      (> ar br)]
00238                                     [else #t])]
00239                              [else
00240                               ;; a is bluer than green
00241                               (cond [(> bg bb)
00242                                      ;; b is greener than blue
00243                                      #t]
00244                                     [else (> ar br)])])]
00245                       [else #t])]
00246                [else (cond [(and (>= br bg) (> br bb))
00247                             ;; b is a shade of red
00248                             #f]
00249                            [(and (> ag ar) (> ag ab))
00250                             ;; a is a shade of green
00251                             (cond [(and (> bg br) (> bg bb))
00252                                    ;; b is a shade of green
00253                                    (cond [(> ar ab)
00254                                           ;; a is redder than blue
00255                                           (cond [(> br bb)
00256                                                  ;; b is redder than blue
00257                                                  (> ag bg)]
00258                                                 [else #t])]
00259                                          [else (cond [(> br bb) #f]
00260                                                      [else (> ag bg)])])]
00261                                   [else #t])]
00262                            [else
00263                             ;; a is a shade of blue
00264                             (cond [(and (> bg br) (> bg bb))
00265                                    ;; b is a shade of green
00266                                    #f]
00267                                   [else
00268                                    ;; b is a shade of blue
00269                                    (cond [(> ag ar)
00270                                           ;; a is greener than red
00271                                           (cond [(> bg br)
00272                                                  ;; b is greener than red
00273                                                  (> ab bb)]
00274                                                 [else #t])]
00275                                          [else
00276                                           (cond [(> bg br) #f]
00277                                                 [else (> ab bb)])])])])])))))
00278 
00279 ;; pairwise swap to put names with spaces first:
00280 (define l3
00281   (let loop ([l l2])
00282     (cond [(null? (cdr l)) l]
00283           [else (let ([l (cons (car l) (loop (cdr l)))])
00284                   (cond [(and (> (string-length (caadr l))
00285                                  (string-length (caar l)))
00286                               (string=? (caar l)
00287                                         (regexp-replace* " " (caadr l) "")))
00288                          (list* (cadr l) (car l) (cddr l))]
00289                         [else l]))])))
00290 
00291 (define (2hex n)
00292   (let ([s (format "00~x" n)])
00293     (substring s (- (string-length s) 2) (string-length s))))
00294 
00295 (for-each (lambda (l)
00296            (let ([s (string-copy (car l))]
00297                 [c (regexp-replace* " " (car l) "")])
00298              (string-uppercase! s)
00299              (cond
00300               ;; Debugging: simple HTML output
00301               [#f (printf "<tr><td bgcolor=\"#~a~a~a\">&nbsp;&nbsp;&nbsp;&nbsp;</td><td>~a</td></tr>~n"
00302                         (2hex (red l)) (2hex (green l)) (2hex (blue l)) (car l))]
00303               ;; LaTex output:
00304               [#t (printf "\\colorName{~a}{~a}{~a}{~a}{~a} \\\\~n"
00305                         (car l)
00306                         c
00307                         (red l)
00308                         (green l)
00309                         (blue l))]
00310               ;; C output:
00311               [#t (printf "C_APPEND(~s, new wxColour(~a, ~a, ~a));~n"
00312                         s
00313                         (red l)
00314                         (green l)
00315                         (blue l))])))
00316          l3)
00317 */
00318 
00319 APPEND_C("ALICEBLUE", new wxColour(240, 248, 255));
00320 APPEND_C("ANTIQUEWHITE", new wxColour(250, 235, 215));
00321 APPEND_C("AQUA", new wxColour(0, 255, 255));
00322 APPEND_C("AQUAMARINE", new wxColour(112, 216, 144));
00323 APPEND_C("AZURE", new wxColour(240, 255, 255));
00324 APPEND_C("BEIGE", new wxColour(245, 245, 220));
00325 APPEND_C("BISQUE", new wxColour(255, 228, 196));
00326 APPEND_C("BLACK", new wxColour(0, 0, 0));
00327 APPEND_C("BLANCHEDALMOND", new wxColour(255, 235, 205));
00328 APPEND_C("BLUE", new wxColour(0, 0, 255));
00329 APPEND_C("BLUE VIOLET", new wxColour(138, 43, 226));
00330 APPEND_C("BLUEVIOLET", new wxColour(138, 43, 226));
00331 APPEND_C("BROWN", new wxColour(132, 60, 36));
00332 APPEND_C("BURLYWOOD", new wxColour(222, 184, 135));
00333 APPEND_C("CADET BLUE", new wxColour(96, 160, 160));
00334 APPEND_C("CADETBLUE", new wxColour(95, 158, 160));
00335 APPEND_C("CHARTREUSE", new wxColour(127, 255, 0));
00336 APPEND_C("CHOCOLATE", new wxColour(210, 105, 30));
00337 APPEND_C("CORAL", new wxColour(255, 127, 80));
00338 APPEND_C("CORNFLOWER BLUE", new wxColour(68, 64, 108));
00339 APPEND_C("CORNFLOWERBLUE", new wxColour(100, 149, 237));
00340 APPEND_C("CORNSILK", new wxColour(255, 248, 220));
00341 APPEND_C("CRIMSON", new wxColour(220, 20, 60));
00342 APPEND_C("CYAN", new wxColour(0, 255, 255));
00343 APPEND_C("DARK GRAY", new wxColour(169, 169, 169));
00344 APPEND_C("DARK GREEN", new wxColour(0, 100, 0));
00345 APPEND_C("DARK OLIVE GREEN", new wxColour(85, 107, 47));
00346 APPEND_C("DARK ORCHID", new wxColour(153, 50, 204));
00347 APPEND_C("DARK SLATE BLUE", new wxColour(72, 61, 139));
00348 APPEND_C("DARK SLATE GRAY", new wxColour(47, 79, 79));
00349 APPEND_C("DARK TURQUOISE", new wxColour(0, 206, 209));
00350 APPEND_C("DARKBLUE", new wxColour(0, 0, 139));
00351 APPEND_C("DARKCYAN", new wxColour(0, 139, 139));
00352 APPEND_C("DARKGOLDENROD", new wxColour(184, 134, 11));
00353 APPEND_C("DARKGRAY", new wxColour(169, 169, 169));
00354 APPEND_C("DARKGREEN", new wxColour(0, 100, 0));
00355 APPEND_C("DARKKHAKI", new wxColour(189, 183, 107));
00356 APPEND_C("DARKMAGENTA", new wxColour(139, 0, 139));
00357 APPEND_C("DARKOLIVEGREEN", new wxColour(85, 107, 47));
00358 APPEND_C("DARKORANGE", new wxColour(255, 140, 0));
00359 APPEND_C("DARKORCHID", new wxColour(153, 50, 204));
00360 APPEND_C("DARKRED", new wxColour(139, 0, 0));
00361 APPEND_C("DARKSALMON", new wxColour(233, 150, 122));
00362 APPEND_C("DARKSEAGREEN", new wxColour(143, 188, 139));
00363 APPEND_C("DARKSLATEBLUE", new wxColour(72, 61, 139));
00364 APPEND_C("DARKSLATEGRAY", new wxColour(47, 79, 79));
00365 APPEND_C("DARKTURQUOISE", new wxColour(0, 206, 209));
00366 APPEND_C("DARKVIOLET", new wxColour(148, 0, 211));
00367 APPEND_C("DEEPPINK", new wxColour(255, 20, 147));
00368 APPEND_C("DEEPSKYBLUE", new wxColour(0, 191, 255));
00369 APPEND_C("DIM GRAY", new wxColour(105, 105, 105));
00370 APPEND_C("DIMGRAY", new wxColour(105, 105, 105));
00371 APPEND_C("DODGERBLUE", new wxColour(30, 144, 255));
00372 APPEND_C("FIREBRICK", new wxColour(178, 34, 34));
00373 APPEND_C("FLORALWHITE", new wxColour(255, 250, 240));
00374 APPEND_C("FOREST GREEN", new wxColour(34, 139, 34));
00375 APPEND_C("FORESTGREEN", new wxColour(34, 139, 34));
00376 APPEND_C("FUCHSIA", new wxColour(255, 0, 255));
00377 APPEND_C("GAINSBORO", new wxColour(220, 220, 220));
00378 APPEND_C("GHOSTWHITE", new wxColour(248, 248, 255));
00379 APPEND_C("GOLD", new wxColour(255, 215, 0));
00380 APPEND_C("GOLDENROD", new wxColour(218, 165, 32));
00381 APPEND_C("GRAY", new wxColour(190, 190, 190));
00382 APPEND_C("GREEN", new wxColour(0, 255, 0));
00383 APPEND_C("GREEN YELLOW", new wxColour(173, 255, 47));
00384 APPEND_C("GREENYELLOW", new wxColour(173, 255, 47));
00385 APPEND_C("HONEYDEW", new wxColour(240, 255, 240));
00386 APPEND_C("HOTPINK", new wxColour(255, 105, 180));
00387 APPEND_C("INDIAN RED", new wxColour(205, 92, 92));
00388 APPEND_C("INDIANRED", new wxColour(205, 92, 92));
00389 APPEND_C("INDIGO", new wxColour(75, 0, 130));
00390 APPEND_C("IVORY", new wxColour(255, 255, 240));
00391 APPEND_C("KHAKI", new wxColour(240, 230, 140));
00392 APPEND_C("LAVENDER", new wxColour(230, 230, 250));
00393 APPEND_C("LAVENDERBLUSH", new wxColour(255, 240, 245));
00394 APPEND_C("LAWNGREEN", new wxColour(124, 252, 0));
00395 APPEND_C("LEMONCHIFFON", new wxColour(255, 250, 205));
00396 APPEND_C("LIGHT BLUE", new wxColour(173, 216, 230));
00397 APPEND_C("LIGHT GRAY", new wxColour(211, 211, 211));
00398 APPEND_C("LIGHT STEEL BLUE", new wxColour(176, 196, 222));
00399 APPEND_C("LIGHTBLUE", new wxColour(173, 216, 230));
00400 APPEND_C("LIGHTCORAL", new wxColour(240, 128, 128));
00401 APPEND_C("LIGHTCYAN", new wxColour(224, 255, 255));
00402 APPEND_C("LIGHTGOLDENRODYELLOW", new wxColour(250, 250, 210));
00403 APPEND_C("LIGHTGRAY", new wxColour(211, 211, 211));
00404 APPEND_C("LIGHTGREEN", new wxColour(144, 238, 144));
00405 APPEND_C("LIGHTPINK", new wxColour(255, 182, 193));
00406 APPEND_C("LIGHTSALMON", new wxColour(255, 160, 122));
00407 APPEND_C("LIGHTSEAGREEN", new wxColour(32, 178, 170));
00408 APPEND_C("LIGHTSKYBLUE", new wxColour(135, 206, 250));
00409 APPEND_C("LIGHTSLATEGRAY", new wxColour(119, 136, 153));
00410 APPEND_C("LIGHTSTEELBLUE", new wxColour(176, 196, 222));
00411 APPEND_C("LIGHTYELLOW", new wxColour(255, 255, 224));
00412 APPEND_C("LIME", new wxColour(0, 255, 0));
00413 APPEND_C("LIME GREEN", new wxColour(50, 205, 50));
00414 APPEND_C("LIMEGREEN", new wxColour(50, 205, 50));
00415 APPEND_C("LINEN", new wxColour(250, 240, 230));
00416 APPEND_C("MAGENTA", new wxColour(255, 0, 255));
00417 APPEND_C("MAROON", new wxColour(176, 48, 96));
00418 APPEND_C("MEDIUM AQUAMARINE", new wxColour(102, 205, 170));
00419 APPEND_C("MEDIUM BLUE", new wxColour(0, 0, 205));
00420 APPEND_C("MEDIUM FOREST GREEN", new wxColour(107, 142, 35));
00421 APPEND_C("MEDIUM GOLDENROD", new wxColour(234, 234, 173));
00422 APPEND_C("MEDIUM ORCHID", new wxColour(186, 85, 211));
00423 APPEND_C("MEDIUM SEA GREEN", new wxColour(60, 179, 113));
00424 APPEND_C("MEDIUM SLATE BLUE", new wxColour(123, 104, 238));
00425 APPEND_C("MEDIUM SPRING GREEN", new wxColour(0, 250, 154));
00426 APPEND_C("MEDIUM TURQUOISE", new wxColour(72, 209, 204));
00427 APPEND_C("MEDIUM VIOLET RED", new wxColour(199, 21, 133));
00428 APPEND_C("MEDIUMAQUAMARINE", new wxColour(102, 205, 170));
00429 APPEND_C("MEDIUMBLUE", new wxColour(0, 0, 205));
00430 APPEND_C("MEDIUMFORESTGREEN", new wxColour(107, 142, 35));
00431 APPEND_C("MEDIUMGOLDENROD", new wxColour(234, 234, 173));
00432 APPEND_C("MEDIUMORCHID", new wxColour(186, 85, 211));
00433 APPEND_C("MEDIUMPURPLE", new wxColour(147, 112, 219));
00434 APPEND_C("MEDIUMSEAGREEN", new wxColour(60, 179, 113));
00435 APPEND_C("MEDIUMSLATEBLUE", new wxColour(123, 104, 238));
00436 APPEND_C("MEDIUMSPRINGGREEN", new wxColour(0, 250, 154));
00437 APPEND_C("MEDIUMTURQUOISE", new wxColour(72, 209, 204));
00438 APPEND_C("MEDIUMVIOLETRED", new wxColour(199, 21, 133));
00439 APPEND_C("MIDNIGHT BLUE", new wxColour(25, 25, 112));
00440 APPEND_C("MIDNIGHTBLUE", new wxColour(25, 25, 112));
00441 APPEND_C("MINTCREAM", new wxColour(245, 255, 250));
00442 APPEND_C("MISTYROSE", new wxColour(255, 228, 225));
00443 APPEND_C("MOCCASIN", new wxColour(255, 228, 181));
00444 APPEND_C("NAVAJOWHITE", new wxColour(255, 222, 173));
00445 APPEND_C("NAVY", new wxColour(36, 36, 140));
00446 APPEND_C("OLDLACE", new wxColour(253, 245, 230));
00447 APPEND_C("OLIVE", new wxColour(128, 128, 0));
00448 APPEND_C("OLIVEDRAB", new wxColour(107, 142, 35));
00449 APPEND_C("ORANGE", new wxColour(255, 165, 0));
00450 APPEND_C("ORANGE RED", new wxColour(255, 69, 0));
00451 APPEND_C("ORANGERED", new wxColour(255, 69, 0));
00452 APPEND_C("ORCHID", new wxColour(218, 112, 214));
00453 APPEND_C("PALE GREEN", new wxColour(152, 251, 152));
00454 APPEND_C("PALEGOLDENROD", new wxColour(238, 232, 170));
00455 APPEND_C("PALEGREEN", new wxColour(152, 251, 152));
00456 APPEND_C("PALETURQUOISE", new wxColour(175, 238, 238));
00457 APPEND_C("PALEVIOLETRED", new wxColour(219, 112, 147));
00458 APPEND_C("PAPAYAWHIP", new wxColour(255, 239, 213));
00459 APPEND_C("PEACHPUFF", new wxColour(255, 218, 185));
00460 APPEND_C("PERU", new wxColour(205, 133, 63));
00461 APPEND_C("PINK", new wxColour(255, 192, 203));
00462 APPEND_C("PLUM", new wxColour(221, 160, 221));
00463 APPEND_C("POWDERBLUE", new wxColour(176, 224, 230));
00464 APPEND_C("PURPLE", new wxColour(160, 32, 240));
00465 APPEND_C("RED", new wxColour(255, 0, 0));
00466 APPEND_C("ROSYBROWN", new wxColour(188, 143, 143));
00467 APPEND_C("ROYALBLUE", new wxColour(65, 105, 225));
00468 APPEND_C("SADDLEBROWN", new wxColour(139, 69, 19));
00469 APPEND_C("SALMON", new wxColour(250, 128, 114));
00470 APPEND_C("SANDYBROWN", new wxColour(244, 164, 96));
00471 APPEND_C("SEA GREEN", new wxColour(46, 139, 87));
00472 APPEND_C("SEAGREEN", new wxColour(46, 139, 87));
00473 APPEND_C("SEASHELL", new wxColour(255, 245, 238));
00474 APPEND_C("SIENNA", new wxColour(160, 82, 45));
00475 APPEND_C("SILVER", new wxColour(192, 192, 192));
00476 APPEND_C("SKY BLUE", new wxColour(135, 206, 235));
00477 APPEND_C("SKYBLUE", new wxColour(135, 206, 235));
00478 APPEND_C("SLATE BLUE", new wxColour(106, 90, 205));
00479 APPEND_C("SLATEBLUE", new wxColour(106, 90, 205));
00480 APPEND_C("SLATEGRAY", new wxColour(112, 128, 144));
00481 APPEND_C("SNOW", new wxColour(255, 250, 250));
00482 APPEND_C("SPRING GREEN", new wxColour(0, 255, 127));
00483 APPEND_C("SPRINGGREEN", new wxColour(0, 255, 127));
00484 APPEND_C("STEEL BLUE", new wxColour(70, 130, 180));
00485 APPEND_C("STEELBLUE", new wxColour(70, 130, 180));
00486 APPEND_C("TAN", new wxColour(210, 180, 140));
00487 APPEND_C("TEAL", new wxColour(0, 128, 128));
00488 APPEND_C("THISTLE", new wxColour(216, 191, 216));
00489 APPEND_C("TOMATO", new wxColour(255, 99, 71));
00490 APPEND_C("TURQUOISE", new wxColour(64, 224, 208));
00491 APPEND_C("VIOLET", new wxColour(238, 130, 238));
00492 APPEND_C("VIOLET RED", new wxColour(208, 32, 144));
00493 APPEND_C("VIOLETRED", new wxColour(208, 32, 144));
00494 APPEND_C("WHEAT", new wxColour(245, 222, 179));
00495 APPEND_C("WHITE", new wxColour(255, 255, 255));
00496 APPEND_C("WHITESMOKE", new wxColour(245, 245, 245));
00497 APPEND_C("YELLOW", new wxColour(255, 255, 0));
00498 APPEND_C("YELLOW GREEN", new wxColour(154, 205, 50));
00499 APPEND_C("YELLOWGREEN", new wxColour(154, 205, 50));