Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

gfx/Color3.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002   Copyright (C)2003 David Jung <opensim@pobox.com>
00003 
00004   This program/file is free software; you can redistribute it and/or modify
00005   it under the terms of the GNU General Public License as published by
00006   the Free Software Foundation; either version 2 of the License, or
00007   (at your option) any later version.
00008   
00009   This program is distributed in the hope that it will be useful,
00010   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012   GNU General Public License for more details. (http://www.gnu.org)
00013   
00014   You should have received a copy of the GNU General Public License
00015   along with this program; if not, write to the Free Software
00016   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017   
00018   $Id: Color3.cpp 1030 2004-02-11 20:46:17Z jungd $
00019   $Revision: 1.1 $
00020   $Date: 2004-02-11 15:46:17 -0500 (Wed, 11 Feb 2004) $
00021   $Author: jungd $
00022  
00023 ****************************************************************************/
00024 
00025 
00026 #include <gfx/Color3>
00027 
00028 using gfx::Color3;
00029 
00030 
00031 Color3 Color3::lookupColor(const String& name)
00032 {
00033   // check for some common colors to avoid lookup
00034   if (name == "black") return gfx::Color3(0,0,0);
00035   if (name == "white") return gfx::Color3(1,1,1);
00036   if (name == "red") return gfx::Color3(1,0,0);
00037   if (name == "green") return gfx::Color3(0,1,0);
00038   if (name == "blue") return gfx::Color3(0,0,1);
00039 
00040   
00041   for(Int i=0; ; i++) {
00042     ColorDatabaseEntry& e(colorDatabase[i]);
00043     if ( (e.r==0) && (e.g==0) && (e.b==0) ) break; // black serves as list sentinal
00044     if (name == e.name) return Color3( Real(e.r)/255.0, Real(e.g)/255.0, Real(e.b)/255.0 ); 
00045   }
00046   throw std::invalid_argument(Exception("color with name "+name+" not in database"));
00047 }
00048 
00049   
00050 // colors grabbed from the X11 rgb database file
00051 Color3::ColorDatabaseEntry Color3::colorDatabase[] = {
00052       255,250,250, "snow",
00053       248,248,255, "ghost white",
00054       248,248,255, "GhostWhite",
00055       245,245,245, "white smoke",
00056       245,245,245, "WhiteSmoke",
00057       220,220,220, "gainsboro",
00058       255,250,240, "floral white",
00059       255,250,240, "FloralWhite",
00060       253,245,230, "old lace",
00061       253,245,230, "OldLace",
00062       250,240,230, "linen",
00063       250,235,215, "antique white",
00064       250,235,215, "AntiqueWhite",
00065       255,239,213, "papaya whip",
00066       255,239,213, "PapayaWhip",
00067       255,235,205, "blanched almond",
00068       255,235,205, "BlanchedAlmond",
00069       255,228,196, "bisque",
00070       255,218,185, "peach puff",
00071       255,218,185, "PeachPuff",
00072       255,222,173, "navajo white",
00073       255,222,173, "NavajoWhite",
00074       255,228,181, "moccasin",
00075       255,248,220, "cornsilk",
00076       255,255,240, "ivory",
00077       255,250,205, "lemon chiffon",
00078       255,250,205, "LemonChiffon",
00079       255,245,238, "seashell",
00080       240,255,240, "honeydew",
00081       245,255,250, "mint cream",
00082       245,255,250, "MintCream",
00083       240,255,255, "azure",
00084       240,248,255, "alice blue",
00085       240,248,255, "AliceBlue",
00086       230,230,250, "lavender",
00087       255,240,245, "lavender blush",
00088       255,240,245, "LavenderBlush",
00089       255,228,225, "misty rose",
00090       255,228,225, "MistyRose",
00091       255,255,255, "white",
00092        47, 79, 79, "dark slate gray",
00093        47, 79, 79, "DarkSlateGray",
00094        47, 79, 79, "dark slate grey",
00095        47, 79, 79, "DarkSlateGrey",
00096       105,105,105, "dim gray",
00097       105,105,105, "DimGray",
00098       105,105,105, "dim grey",
00099       105,105,105, "DimGrey",
00100       112,128,144, "slate gray",
00101       112,128,144, "SlateGray",
00102       112,128,144, "slate grey",
00103       112,128,144, "SlateGrey",
00104       119,136,153, "light slate gray",
00105       119,136,153, "LightSlateGray",
00106       119,136,153, "light slate grey",
00107       119,136,153, "LightSlateGrey",
00108       190,190,190, "gray",
00109       190,190,190, "grey",
00110       211,211,211, "light grey",
00111       211,211,211, "LightGrey",
00112       211,211,211, "light gray",
00113       211,211,211, "LightGray",
00114        25, 25,112, "midnight blue",
00115        25, 25,112, "MidnightBlue",
00116         0,  0,128, "navy",
00117         0,  0,128, "navy blue",
00118         0,  0,128, "NavyBlue",
00119       100,149,237, "cornflower blue",
00120       100,149,237, "CornflowerBlue",
00121        72, 61,139, "dark slate blue",
00122        72, 61,139, "DarkSlateBlue",
00123       106, 90,205, "slate blue",
00124       106, 90,205, "SlateBlue",
00125       123,104,238, "medium slate blue",
00126       123,104,238, "MediumSlateBlue",
00127       132,112,255, "light slate blue",
00128       132,112,255, "LightSlateBlue",
00129         0,  0,205, "medium blue",
00130         0,  0,205, "MediumBlue",
00131        65,105,225, "royal blue",
00132        65,105,225, "RoyalBlue",
00133         0,  0,255, "blue",
00134        30,144,255, "dodger blue",
00135        30,144,255, "DodgerBlue",
00136         0,191,255, "deep sky blue",
00137         0,191,255, "DeepSkyBlue",
00138       135,206,235, "sky blue",
00139       135,206,235, "SkyBlue",
00140       135,206,250, "light sky blue",
00141       135,206,250, "LightSkyBlue",
00142        70,130,180, "steel blue",
00143        70,130,180, "SteelBlue",
00144       176,196,222, "light steel blue",
00145       176,196,222, "LightSteelBlue",
00146       173,216,230, "light blue",
00147       173,216,230, "LightBlue",
00148       176,224,230, "powder blue",
00149       176,224,230, "PowderBlue",
00150       175,238,238, "pale turquoise",
00151       175,238,238, "PaleTurquoise",
00152         0,206,209, "dark turquoise",
00153         0,206,209, "DarkTurquoise",
00154        72,209,204, "medium turquoise",
00155        72,209,204, "MediumTurquoise",
00156        64,224,208, "turquoise",
00157         0,255,255, "cyan",
00158       224,255,255, "light cyan",
00159       224,255,255, "LightCyan",
00160        95,158,160, "cadet blue",
00161        95,158,160, "CadetBlue",
00162       102,205,170, "medium aquamarine",
00163       102,205,170, "MediumAquamarine",
00164       127,255,212, "aquamarine",
00165         0,100,  0, "dark green",
00166         0,100,  0, "DarkGreen",
00167        85,107, 47, "dark olive green",
00168        85,107, 47, "DarkOliveGreen",
00169       143,188,143, "dark sea green",
00170       143,188,143, "DarkSeaGreen",
00171        46,139, 87, "sea green",
00172        46,139, 87, "SeaGreen",
00173        60,179,113, "medium sea green",
00174        60,179,113, "MediumSeaGreen",
00175        32,178,170, "light sea green",
00176        32,178,170, "LightSeaGreen",
00177       152,251,152, "pale green",
00178       152,251,152, "PaleGreen",
00179         0,255,127, "spring green",
00180         0,255,127, "SpringGreen",
00181       124,252,  0, "lawn green",
00182       124,252,  0, "LawnGreen",
00183         0,255,  0, "green",
00184       127,255,  0, "chartreuse",
00185         0,250,154, "medium spring green",
00186         0,250,154, "MediumSpringGreen",
00187       173,255, 47, "green yellow",
00188       173,255, 47, "GreenYellow",
00189        50,205, 50, "lime green",
00190        50,205, 50, "LimeGreen",
00191       154,205, 50, "yellow green",
00192       154,205, 50, "YellowGreen",
00193        34,139, 34, "forest green",
00194        34,139, 34, "ForestGreen",
00195       107,142, 35, "olive drab",
00196       107,142, 35, "OliveDrab",
00197       189,183,107, "dark khaki",
00198       189,183,107, "DarkKhaki",
00199       240,230,140, "khaki",
00200       238,232,170, "pale goldenrod",
00201       238,232,170, "PaleGoldenrod",
00202       250,250,210, "light goldenrod yellow",
00203       250,250,210, "LightGoldenrodYellow",
00204       255,255,224, "light yellow",
00205       255,255,224, "LightYellow",
00206       255,255,  0, "yellow",
00207       255,215,  0, "gold",
00208       238,221,130, "light goldenrod",
00209       238,221,130, "LightGoldenrod",
00210       218,165, 32, "goldenrod",
00211       184,134, 11, "dark goldenrod",
00212       184,134, 11, "DarkGoldenrod",
00213       188,143,143, "rosy brown",
00214       188,143,143, "RosyBrown",
00215       205, 92, 92, "indian red",
00216       205, 92, 92, "IndianRed",
00217       139, 69, 19, "saddle brown",
00218       139, 69, 19, "SaddleBrown",
00219       160, 82, 45, "sienna",
00220       205,133, 63, "peru",
00221       222,184,135, "burlywood",
00222       245,245,220, "beige",
00223       245,222,179, "wheat",
00224       244,164, 96, "sandy brown",
00225       244,164, 96, "SandyBrown",
00226       210,180,140, "tan",
00227       210,105, 30, "chocolate",
00228       178, 34, 34, "firebrick",
00229       165, 42, 42, "brown",
00230       233,150,122, "dark salmon",
00231       233,150,122, "DarkSalmon",
00232       250,128,114, "salmon",
00233       255,160,122, "light salmon",
00234       255,160,122, "LightSalmon",
00235       255,165,  0, "orange",
00236       255,140,  0, "dark orange",
00237       255,140,  0, "DarkOrange",
00238       255,127, 80, "coral",
00239       240,128,128, "light coral",
00240       240,128,128, "LightCoral",
00241       255, 99, 71, "tomato",
00242       255, 69,  0, "orange red",
00243       255, 69,  0, "OrangeRed",
00244       255,  0,  0, "red",
00245       255,105,180, "hot pink",
00246       255,105,180, "HotPink",
00247       255, 20,147, "deep pink",
00248       255, 20,147, "DeepPink",
00249       255,192,203, "pink",
00250       255,182,193, "light pink",
00251       255,182,193, "LightPink",
00252       219,112,147, "pale violet red",
00253       219,112,147, "PaleVioletRed",
00254       176, 48, 96, "maroon",
00255       199, 21,133, "medium violet red",
00256       199, 21,133, "MediumVioletRed",
00257       208, 32,144, "violet red",
00258       208, 32,144, "VioletRed",
00259       255,  0,255, "magenta",
00260       238,130,238, "violet",
00261       221,160,221, "plum",
00262       218,112,214, "orchid",
00263       186, 85,211, "medium orchid",
00264       186, 85,211, "MediumOrchid",
00265       153, 50,204, "dark orchid",
00266       153, 50,204, "DarkOrchid",
00267       148,  0,211, "dark violet",
00268       148,  0,211, "DarkViolet",
00269       138, 43,226, "blue violet",
00270       138, 43,226, "BlueViolet",
00271       160, 32,240, "purple",
00272       147,112,219, "medium purple",
00273       147,112,219, "MediumPurple",
00274       216,191,216, "thistle",
00275       255,250,250, "snow1",
00276       238,233,233, "snow2",
00277       205,201,201, "snow3",
00278       139,137,137, "snow4",
00279       255,245,238, "seashell1",
00280       238,229,222, "seashell2",
00281       205,197,191, "seashell3",
00282       139,134,130, "seashell4",
00283       255,239,219, "AntiqueWhite1",
00284       238,223,204, "AntiqueWhite2",
00285       205,192,176, "AntiqueWhite3",
00286       139,131,120, "AntiqueWhite4",
00287       255,228,196, "bisque1",
00288       238,213,183, "bisque2",
00289       205,183,158, "bisque3",
00290       139,125,107, "bisque4",
00291       255,218,185, "PeachPuff1",
00292       238,203,173, "PeachPuff2",
00293       205,175,149, "PeachPuff3",
00294       139,119,101, "PeachPuff4",
00295       255,222,173, "NavajoWhite1",
00296       238,207,161, "NavajoWhite2",
00297       205,179,139, "NavajoWhite3",
00298       139,121, 94, "NavajoWhite4",
00299       255,250,205, "LemonChiffon1",
00300       238,233,191, "LemonChiffon2",
00301       205,201,165, "LemonChiffon3",
00302       139,137,112, "LemonChiffon4",
00303       255,248,220, "cornsilk1",
00304       238,232,205, "cornsilk2",
00305       205,200,177, "cornsilk3",
00306       139,136,120, "cornsilk4",
00307       255,255,240, "ivory1",
00308       238,238,224, "ivory2",
00309       205,205,193, "ivory3",
00310       139,139,131, "ivory4",
00311       240,255,240, "honeydew1",
00312       224,238,224, "honeydew2",
00313       193,205,193, "honeydew3",
00314       131,139,131, "honeydew4",
00315       255,240,245, "LavenderBlush1",
00316       238,224,229, "LavenderBlush2",
00317       205,193,197, "LavenderBlush3",
00318       139,131,134, "LavenderBlush4",
00319       255,228,225, "MistyRose1",
00320       238,213,210, "MistyRose2",
00321       205,183,181, "MistyRose3",
00322       139,125,123, "MistyRose4",
00323       240,255,255, "azure1",
00324       224,238,238, "azure2",
00325       193,205,205, "azure3",
00326       131,139,139, "azure4",
00327       131,111,255, "SlateBlue1",
00328       122,103,238, "SlateBlue2",
00329       105, 89,205, "SlateBlue3",
00330        71, 60,139, "SlateBlue4",
00331        72,118,255, "RoyalBlue1",
00332        67,110,238, "RoyalBlue2",
00333        58, 95,205, "RoyalBlue3",
00334        39, 64,139, "RoyalBlue4",
00335         0,  0,255, "blue1",
00336         0,  0,238, "blue2",
00337         0,  0,205, "blue3",
00338         0,  0,139, "blue4",
00339        30,144,255, "DodgerBlue1",
00340        28,134,238, "DodgerBlue2",
00341        24,116,205, "DodgerBlue3",
00342        16, 78,139, "DodgerBlue4",
00343        99,184,255, "SteelBlue1",
00344        92,172,238, "SteelBlue2",
00345        79,148,205, "SteelBlue3",
00346        54,100,139, "SteelBlue4",
00347         0,191,255, "DeepSkyBlue1",
00348         0,178,238, "DeepSkyBlue2",
00349         0,154,205, "DeepSkyBlue3",
00350         0,104,139, "DeepSkyBlue4",
00351       135,206,255, "SkyBlue1",
00352       126,192,238, "SkyBlue2",
00353       108,166,205, "SkyBlue3",
00354        74,112,139, "SkyBlue4",
00355       176,226,255, "LightSkyBlue1",
00356       164,211,238, "LightSkyBlue2",
00357       141,182,205, "LightSkyBlue3",
00358        96,123,139, "LightSkyBlue4",
00359       198,226,255, "SlateGray1",
00360       185,211,238, "SlateGray2",
00361       159,182,205, "SlateGray3",
00362       108,123,139, "SlateGray4",
00363       202,225,255, "LightSteelBlue1",
00364       188,210,238, "LightSteelBlue2",
00365       162,181,205, "LightSteelBlue3",
00366       110,123,139, "LightSteelBlue4",
00367       191,239,255, "LightBlue1",
00368       178,223,238, "LightBlue2",
00369       154,192,205, "LightBlue3",
00370       104,131,139, "LightBlue4",
00371       224,255,255, "LightCyan1",
00372       209,238,238, "LightCyan2",
00373       180,205,205, "LightCyan3",
00374       122,139,139, "LightCyan4",
00375       187,255,255, "PaleTurquoise1",
00376       174,238,238, "PaleTurquoise2",
00377       150,205,205, "PaleTurquoise3",
00378       102,139,139, "PaleTurquoise4",
00379       152,245,255, "CadetBlue1",
00380       142,229,238, "CadetBlue2",
00381       122,197,205, "CadetBlue3",
00382        83,134,139, "CadetBlue4",
00383         0,245,255, "turquoise1",
00384         0,229,238, "turquoise2",
00385         0,197,205, "turquoise3",
00386         0,134,139, "turquoise4",
00387         0,255,255, "cyan1",
00388         0,238,238, "cyan2",
00389         0,205,205, "cyan3",
00390         0,139,139, "cyan4",
00391       151,255,255, "DarkSlateGray1",
00392       141,238,238, "DarkSlateGray2",
00393       121,205,205, "DarkSlateGray3",
00394        82,139,139, "DarkSlateGray4",
00395       127,255,212, "aquamarine1",
00396       118,238,198, "aquamarine2",
00397       102,205,170, "aquamarine3",
00398        69,139,116, "aquamarine4",
00399       193,255,193, "DarkSeaGreen1",
00400       180,238,180, "DarkSeaGreen2",
00401       155,205,155, "DarkSeaGreen3",
00402       105,139,105, "DarkSeaGreen4",
00403        84,255,159, "SeaGreen1",
00404        78,238,148, "SeaGreen2",
00405        67,205,128, "SeaGreen3",
00406        46,139, 87, "SeaGreen4",
00407       154,255,154, "PaleGreen1",
00408       144,238,144, "PaleGreen2",
00409       124,205,124, "PaleGreen3",
00410        84,139, 84, "PaleGreen4",
00411         0,255,127, "SpringGreen1",
00412         0,238,118, "SpringGreen2",
00413         0,205,102, "SpringGreen3",
00414         0,139, 69, "SpringGreen4",
00415         0,255,  0, "green1",
00416         0,238,  0, "green2",
00417         0,205,  0, "green3",
00418         0,139,  0, "green4",
00419       127,255,  0, "chartreuse1",
00420       118,238,  0, "chartreuse2",
00421       102,205,  0, "chartreuse3",
00422        69,139,  0, "chartreuse4",
00423       192,255, 62, "OliveDrab1",
00424       179,238, 58, "OliveDrab2",
00425       154,205, 50, "OliveDrab3",
00426       105,139, 34, "OliveDrab4",
00427       202,255,112, "DarkOliveGreen1",
00428       188,238,104, "DarkOliveGreen2",
00429       162,205, 90, "DarkOliveGreen3",
00430       110,139, 61, "DarkOliveGreen4",
00431       255,246,143, "khaki1",
00432       238,230,133, "khaki2",
00433       205,198,115, "khaki3",
00434       139,134, 78, "khaki4",
00435       255,236,139, "LightGoldenrod1",
00436       238,220,130, "LightGoldenrod2",
00437       205,190,112, "LightGoldenrod3",
00438       139,129, 76, "LightGoldenrod4",
00439       255,255,224, "LightYellow1",
00440       238,238,209, "LightYellow2",
00441       205,205,180, "LightYellow3",
00442       139,139,122, "LightYellow4",
00443       255,255,  0, "yellow1",
00444       238,238,  0, "yellow2",
00445       205,205,  0, "yellow3",
00446       139,139,  0, "yellow4",
00447       255,215,  0, "gold1",
00448       238,201,  0, "gold2",
00449       205,173,  0, "gold3",
00450       139,117,  0, "gold4",
00451       255,193, 37, "goldenrod1",
00452       238,180, 34, "goldenrod2",
00453       205,155, 29, "goldenrod3",
00454       139,105, 20, "goldenrod4",
00455       255,185, 15, "DarkGoldenrod1",
00456       238,173, 14, "DarkGoldenrod2",
00457       205,149, 12, "DarkGoldenrod3",
00458       139,101,  8, "DarkGoldenrod4",
00459       255,193,193, "RosyBrown1",
00460       238,180,180, "RosyBrown2",
00461       205,155,155, "RosyBrown3",
00462       139,105,105, "RosyBrown4",
00463       255,106,106, "IndianRed1",
00464       238, 99, 99, "IndianRed2",
00465       205, 85, 85, "IndianRed3",
00466       139, 58, 58, "IndianRed4",
00467       255,130, 71, "sienna1",
00468       238,121, 66, "sienna2",
00469       205,104, 57, "sienna3",
00470       139, 71, 38, "sienna4",
00471       255,211,155, "burlywood1",
00472       238,197,145, "burlywood2",
00473       205,170,125, "burlywood3",
00474       139,115, 85, "burlywood4",
00475       255,231,186, "wheat1",
00476       238,216,174, "wheat2",
00477       205,186,150, "wheat3",
00478       139,126,102, "wheat4",
00479       255,165, 79, "tan1",
00480       238,154, 73, "tan2",
00481       205,133, 63, "tan3",
00482       139, 90, 43, "tan4",
00483       255,127, 36, "chocolate1",
00484       238,118, 33, "chocolate2",
00485       205,102, 29, "chocolate3",
00486       139, 69, 19, "chocolate4",
00487       255, 48, 48, "firebrick1",
00488       238, 44, 44, "firebrick2",
00489       205, 38, 38, "firebrick3",
00490       139, 26, 26, "firebrick4",
00491       255, 64, 64, "brown1",
00492       238, 59, 59, "brown2",
00493       205, 51, 51, "brown3",
00494       139, 35, 35, "brown4",
00495       255,140,105, "salmon1",
00496       238,130, 98, "salmon2",
00497       205,112, 84, "salmon3",
00498       139, 76, 57, "salmon4",
00499       255,160,122, "LightSalmon1",
00500       238,149,114, "LightSalmon2",
00501       205,129, 98, "LightSalmon3",
00502       139, 87, 66, "LightSalmon4",
00503       255,165,  0, "orange1",
00504       238,154,  0, "orange2",
00505       205,133,  0, "orange3",
00506       139, 90,  0, "orange4",
00507       255,127,  0, "DarkOrange1",
00508       238,118,  0, "DarkOrange2",
00509       205,102,  0, "DarkOrange3",
00510       139, 69,  0, "DarkOrange4",
00511       255,114, 86, "coral1",
00512       238,106, 80, "coral2",
00513       205, 91, 69, "coral3",
00514       139, 62, 47, "coral4",
00515       255, 99, 71, "tomato1",
00516       238, 92, 66, "tomato2",
00517       205, 79, 57, "tomato3",
00518       139, 54, 38, "tomato4",
00519       255, 69,  0, "OrangeRed1",
00520       238, 64,  0, "OrangeRed2",
00521       205, 55,  0, "OrangeRed3",
00522       139, 37,  0, "OrangeRed4",
00523       255,  0,  0, "red1",
00524       238,  0,  0, "red2",
00525       205,  0,  0, "red3",
00526       139,  0,  0, "red4",
00527       255, 20,147, "DeepPink1",
00528       238, 18,137, "DeepPink2",
00529       205, 16,118, "DeepPink3",
00530       139, 10, 80, "DeepPink4",
00531       255,110,180, "HotPink1",
00532       238,106,167, "HotPink2",
00533       205, 96,144, "HotPink3",
00534       139, 58, 98, "HotPink4",
00535       255,181,197, "pink1",
00536       238,169,184, "pink2",
00537       205,145,158, "pink3",
00538       139, 99,108, "pink4",
00539       255,174,185, "LightPink1",
00540       238,162,173, "LightPink2",
00541       205,140,149, "LightPink3",
00542       139, 95,101, "LightPink4",
00543       255,130,171, "PaleVioletRed1",
00544       238,121,159, "PaleVioletRed2",
00545       205,104,137, "PaleVioletRed3",
00546       139, 71, 93, "PaleVioletRed4",
00547       255, 52,179, "maroon1",
00548       238, 48,167, "maroon2",
00549       205, 41,144, "maroon3",
00550       139, 28, 98, "maroon4",
00551       255, 62,150, "VioletRed1",
00552       238, 58,140, "VioletRed2",
00553       205, 50,120, "VioletRed3",
00554       139, 34, 82, "VioletRed4",
00555       255,  0,255, "magenta1",
00556       238,  0,238, "magenta2",
00557       205,  0,205, "magenta3",
00558       139,  0,139, "magenta4",
00559       255,131,250, "orchid1",
00560       238,122,233, "orchid2",
00561       205,105,201, "orchid3",
00562       139, 71,137, "orchid4",
00563       255,187,255, "plum1",
00564       238,174,238, "plum2",
00565       205,150,205, "plum3",
00566       139,102,139, "plum4",
00567       224,102,255, "MediumOrchid1",
00568       209, 95,238, "MediumOrchid2",
00569       180, 82,205, "MediumOrchid3",
00570       122, 55,139, "MediumOrchid4",
00571       191, 62,255, "DarkOrchid1",
00572       178, 58,238, "DarkOrchid2",
00573       154, 50,205, "DarkOrchid3",
00574       104, 34,139, "DarkOrchid4",
00575       155, 48,255, "purple1",
00576       145, 44,238, "purple2",
00577       125, 38,205, "purple3",
00578        85, 26,139, "purple4",
00579       171,130,255, "MediumPurple1",
00580       159,121,238, "MediumPurple2",
00581       137,104,205, "MediumPurple3",
00582        93, 71,139, "MediumPurple4",
00583       255,225,255, "thistle1",
00584       238,210,238, "thistle2",
00585       205,181,205, "thistle3",
00586       139,123,139, "thistle4",
00587         0,  0,  0, "gray0",
00588         0,  0,  0, "grey0",
00589         3,  3,  3, "gray1",
00590         3,  3,  3, "grey1",
00591         5,  5,  5, "gray2",
00592         5,  5,  5, "grey2",
00593         8,  8,  8, "gray3",
00594         8,  8,  8, "grey3",
00595        10, 10, 10, "gray4",
00596        10, 10, 10, "grey4",
00597        13, 13, 13, "gray5",
00598        13, 13, 13, "grey5",
00599        15, 15, 15, "gray6",
00600        15, 15, 15, "grey6",
00601        18, 18, 18, "gray7",
00602        18, 18, 18, "grey7",
00603        20, 20, 20, "gray8",
00604        20, 20, 20, "grey8",
00605        23, 23, 23, "gray9",
00606        23, 23, 23, "grey9",
00607        26, 26, 26, "gray10",
00608        26, 26, 26, "grey10",
00609        28, 28, 28, "gray11",
00610        28, 28, 28, "grey11",
00611        31, 31, 31, "gray12",
00612        31, 31, 31, "grey12",
00613        33, 33, 33, "gray13",
00614        33, 33, 33, "grey13",
00615        36, 36, 36, "gray14",
00616        36, 36, 36, "grey14",
00617        38, 38, 38, "gray15",
00618        38, 38, 38, "grey15",
00619        41, 41, 41, "gray16",
00620        41, 41, 41, "grey16",
00621        43, 43, 43, "gray17",
00622        43, 43, 43, "grey17",
00623        46, 46, 46, "gray18",
00624        46, 46, 46, "grey18",
00625        48, 48, 48, "gray19",
00626        48, 48, 48, "grey19",
00627        51, 51, 51, "gray20",
00628        51, 51, 51, "grey20",
00629        54, 54, 54, "gray21",
00630        54, 54, 54, "grey21",
00631        56, 56, 56, "gray22",
00632        56, 56, 56, "grey22",
00633        59, 59, 59, "gray23",
00634        59, 59, 59, "grey23",
00635        61, 61, 61, "gray24",
00636        61, 61, 61, "grey24",
00637        64, 64, 64, "gray25",
00638        64, 64, 64, "grey25",
00639        66, 66, 66, "gray26",
00640        66, 66, 66, "grey26",
00641        69, 69, 69, "gray27",
00642        69, 69, 69, "grey27",
00643        71, 71, 71, "gray28",
00644        71, 71, 71, "grey28",
00645        74, 74, 74, "gray29",
00646        74, 74, 74, "grey29",
00647        77, 77, 77, "gray30",
00648        77, 77, 77, "grey30",
00649        79, 79, 79, "gray31",
00650        79, 79, 79, "grey31",
00651        82, 82, 82, "gray32",
00652        82, 82, 82, "grey32",
00653        84, 84, 84, "gray33",
00654        84, 84, 84, "grey33",
00655        87, 87, 87, "gray34",
00656        87, 87, 87, "grey34",
00657        89, 89, 89, "gray35",
00658        89, 89, 89, "grey35",
00659        92, 92, 92, "gray36",
00660        92, 92, 92, "grey36",
00661        94, 94, 94, "gray37",
00662        94, 94, 94, "grey37",
00663        97, 97, 97, "gray38",
00664        97, 97, 97, "grey38",
00665        99, 99, 99, "gray39",
00666        99, 99, 99, "grey39",
00667       102,102,102, "gray40",
00668       102,102,102, "grey40",
00669       105,105,105, "gray41",
00670       105,105,105, "grey41",
00671       107,107,107, "gray42",
00672       107,107,107, "grey42",
00673       110,110,110, "gray43",
00674       110,110,110, "grey43",
00675       112,112,112, "gray44",
00676       112,112,112, "grey44",
00677       115,115,115, "gray45",
00678       115,115,115, "grey45",
00679       117,117,117, "gray46",
00680       117,117,117, "grey46",
00681       120,120,120, "gray47",
00682       120,120,120, "grey47",
00683       122,122,122, "gray48",
00684       122,122,122, "grey48",
00685       125,125,125, "gray49",
00686       125,125,125, "grey49",
00687       127,127,127, "gray50",
00688       127,127,127, "grey50",
00689       130,130,130, "gray51",
00690       130,130,130, "grey51",
00691       133,133,133, "gray52",
00692       133,133,133, "grey52",
00693       135,135,135, "gray53",
00694       135,135,135, "grey53",
00695       138,138,138, "gray54",
00696       138,138,138, "grey54",
00697       140,140,140, "gray55",
00698       140,140,140, "grey55",
00699       143,143,143, "gray56",
00700       143,143,143, "grey56",
00701       145,145,145, "gray57",
00702       145,145,145, "grey57",
00703       148,148,148, "gray58",
00704       148,148,148, "grey58",
00705       150,150,150, "gray59",
00706       150,150,150, "grey59",
00707       153,153,153, "gray60",
00708       153,153,153, "grey60",
00709       156,156,156, "gray61",
00710       156,156,156, "grey61",
00711       158,158,158, "gray62",
00712       158,158,158, "grey62",
00713       161,161,161, "gray63",
00714       161,161,161, "grey63",
00715       163,163,163, "gray64",
00716       163,163,163, "grey64",
00717       166,166,166, "gray65",
00718       166,166,166, "grey65",
00719       168,168,168, "gray66",
00720       168,168,168, "grey66",
00721       171,171,171, "gray67",
00722       171,171,171, "grey67",
00723       173,173,173, "gray68",
00724       173,173,173, "grey68",
00725       176,176,176, "gray69",
00726       176,176,176, "grey69",
00727       179,179,179, "gray70",
00728       179,179,179, "grey70",
00729       181,181,181, "gray71",
00730       181,181,181, "grey71",
00731       184,184,184, "gray72",
00732       184,184,184, "grey72",
00733       186,186,186, "gray73",
00734       186,186,186, "grey73",
00735       189,189,189, "gray74",
00736       189,189,189, "grey74",
00737       191,191,191, "gray75",
00738       191,191,191, "grey75",
00739       194,194,194, "gray76",
00740       194,194,194, "grey76",
00741       196,196,196, "gray77",
00742       196,196,196, "grey77",
00743       199,199,199, "gray78",
00744       199,199,199, "grey78",
00745       201,201,201, "gray79",
00746       201,201,201, "grey79",
00747       204,204,204, "gray80",
00748       204,204,204, "grey80",
00749       207,207,207, "gray81",
00750       207,207,207, "grey81",
00751       209,209,209, "gray82",
00752       209,209,209, "grey82",
00753       212,212,212, "gray83",
00754       212,212,212, "grey83",
00755       214,214,214, "gray84",
00756       214,214,214, "grey84",
00757       217,217,217, "gray85",
00758       217,217,217, "grey85",
00759       219,219,219, "gray86",
00760       219,219,219, "grey86",
00761       222,222,222, "gray87",
00762       222,222,222, "grey87",
00763       224,224,224, "gray88",
00764       224,224,224, "grey88",
00765       227,227,227, "gray89",
00766       227,227,227, "grey89",
00767       229,229,229, "gray90",
00768       229,229,229, "grey90",
00769       232,232,232, "gray91",
00770       232,232,232, "grey91",
00771       235,235,235, "gray92",
00772       235,235,235, "grey92",
00773       237,237,237, "gray93",
00774       237,237,237, "grey93",
00775       240,240,240, "gray94",
00776       240,240,240, "grey94",
00777       242,242,242, "gray95",
00778       242,242,242, "grey95",
00779       245,245,245, "gray96",
00780       245,245,245, "grey96",
00781       247,247,247, "gray97",
00782       247,247,247, "grey97",
00783       250,250,250, "gray98",
00784       250,250,250, "grey98",
00785       252,252,252, "gray99",
00786       252,252,252, "grey99",
00787       255,255,255, "gray100",
00788       255,255,255, "grey100",
00789       169,169,169, "dark grey",
00790       169,169,169, "DarkGrey",
00791       169,169,169, "dark gray",
00792       169,169,169, "DarkGray",
00793       0,    0,139, "dark blue",
00794       0,    0,139, "DarkBlue",
00795       0,  139,139, "dark cyan",
00796       0,  139,139, "DarkCyan",
00797       139,  0,139, "dark magenta",
00798       139,  0,139, "DarkMagenta",
00799       139,  0,  0, "dark red",
00800       139,  0,  0, "DarkRed",
00801       144,238,144, "light green",
00802       144,238,144, "LightGreen",
00803         0,  0,  0, "black" // terminal
00804   };
00805 

Generated on Thu Jul 29 15:56:18 2004 for OpenSim by doxygen 1.3.6