comparison src/objects-msw.c @ 251:677f6a0ee643 r20-5b24

Import from CVS: tag r20-5b24
author cvs
date Mon, 13 Aug 2007 10:19:59 +0200
parents 83b3d10dcba9
children 966663fcf606
comparison
equal deleted inserted replaced
250:f385a461c9aa 251:677f6a0ee643
46 46
47 #include "buffer.h" 47 #include "buffer.h"
48 #include "device.h" 48 #include "device.h"
49 #include "insdel.h" 49 #include "insdel.h"
50 50
51 #include "windows.h"
52 #ifdef __CYGWIN32__ 51 #ifdef __CYGWIN32__
53 #define stricmp strcasecmp 52 #define stricmp strcasecmp
54 #endif 53 #endif
55 54
56 typedef struct colormap_t 55 typedef struct colormap_t
57 { 56 {
58 char *name; 57 char *name;
59 COLORREF colorref; 58 COLORREF colorref;
60 } colormap_t; 59 } colormap_t;
61 60
61 /* Colors from X11R6 "XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp" */
62 static CONST colormap_t mswindows_X_color_map[] = 62 static CONST colormap_t mswindows_X_color_map[] =
63 { 63 {
64 {"Black" , PALETTERGB ( 0, 0, 0)}, 64 {"snow" , PALETTERGB (255, 250, 250) },
65 {"Gray0" , PALETTERGB ( 0, 0, 0)}, 65 {"GhostWhite" , PALETTERGB (248, 248, 255) },
66 {"Grey0" , PALETTERGB ( 0, 0, 0)}, 66 {"WhiteSmoke" , PALETTERGB (245, 245, 245) },
67 {"Transparent" , PALETTERGB ( 0, 0, 1)}, 67 {"gainsboro" , PALETTERGB (220, 220, 220) },
68 {"NavyBlue" , PALETTERGB ( 0, 0,128)}, 68 {"FloralWhite" , PALETTERGB (255, 250, 240) },
69 {"navy" , PALETTERGB ( 0, 0,128)}, 69 {"OldLace" , PALETTERGB (253, 245, 230) },
70 {"blue4" , PALETTERGB ( 0, 0,139)}, 70 {"linen" , PALETTERGB (250, 240, 230) },
71 {"MediumBlue" , PALETTERGB ( 0, 0,205)}, 71 {"AntiqueWhite" , PALETTERGB (250, 235, 215) },
72 {"blue3" , PALETTERGB ( 0, 0,205)}, 72 {"PapayaWhip" , PALETTERGB (255, 239, 213) },
73 {"blue2" , PALETTERGB ( 0, 0,238)}, 73 {"BlanchedAlmond" , PALETTERGB (255, 235, 205) },
74 {"Blue" , PALETTERGB ( 0, 0,255)}, 74 {"bisque" , PALETTERGB (255, 228, 196) },
75 {"blue1" , PALETTERGB ( 0, 0,255)}, 75 {"PeachPuff" , PALETTERGB (255, 218, 185) },
76 {"DarkGreen" , PALETTERGB ( 0, 86, 45)}, 76 {"NavajoWhite" , PALETTERGB (255, 222, 173) },
77 {"DeepSkyBlue4" , PALETTERGB ( 0,104,139)}, 77 {"moccasin" , PALETTERGB (255, 228, 181) },
78 {"turquoise4" , PALETTERGB ( 0,134,139)}, 78 {"cornsilk" , PALETTERGB (255, 248, 220) },
79 {"green4" , PALETTERGB ( 0,139, 0)}, 79 {"ivory" , PALETTERGB (255, 255, 240) },
80 {"SpringGreen4" , PALETTERGB ( 0,139, 69)}, 80 {"LemonChiffon" , PALETTERGB (255, 250, 205) },
81 {"cyan4" , PALETTERGB ( 0,139,139)}, 81 {"seashell" , PALETTERGB (255, 245, 238) },
82 {"MediumAquamarine" , PALETTERGB ( 0,147,143)}, 82 {"honeydew" , PALETTERGB (240, 255, 240) },
83 {"DeepSkyBlue3" , PALETTERGB ( 0,154,205)}, 83 {"MintCream" , PALETTERGB (245, 255, 250) },
84 {"DarkTurquoise" , PALETTERGB ( 0,166,166)}, 84 {"azure" , PALETTERGB (240, 255, 255) },
85 {"LimeGreen" , PALETTERGB ( 0,175, 20)}, 85 {"AliceBlue" , PALETTERGB (240, 248, 255) },
86 {"DeepSkyBlue2" , PALETTERGB ( 0,178,238)}, 86 {"lavender" , PALETTERGB (230, 230, 250) },
87 {"DeepSkyBlue" , PALETTERGB ( 0,191,255)}, 87 {"LavenderBlush" , PALETTERGB (255, 240, 245) },
88 {"DeepSkyBlue1" , PALETTERGB ( 0,191,255)}, 88 {"MistyRose" , PALETTERGB (255, 228, 225) },
89 {"turquoise3" , PALETTERGB ( 0,197,205)}, 89 {"white" , PALETTERGB (255, 255, 255) },
90 {"green3" , PALETTERGB ( 0,205, 0)}, 90 {"black" , PALETTERGB (0, 0, 0) },
91 {"SpringGreen3" , PALETTERGB ( 0,205,102)}, 91 {"DarkSlateGray" , PALETTERGB (47, 79, 79) },
92 {"cyan3" , PALETTERGB ( 0,205,205)}, 92 {"DarkSlateGrey" , PALETTERGB (47, 79, 79) },
93 {"MediumTurquoise" , PALETTERGB ( 0,210,210)}, 93 {"DimGray" , PALETTERGB (105, 105, 105) },
94 {"turquoise2" , PALETTERGB ( 0,229,238)}, 94 {"DimGrey" , PALETTERGB (105, 105, 105) },
95 {"green2" , PALETTERGB ( 0,238, 0)}, 95 {"SlateGray" , PALETTERGB (112, 128, 144) },
96 {"SpringGreen2" , PALETTERGB ( 0,238,118)}, 96 {"SlateGrey" , PALETTERGB (112, 128, 144) },
97 {"cyan2" , PALETTERGB ( 0,238,238)}, 97 {"LightSlateGray" , PALETTERGB (119, 136, 153) },
98 {"turquoise1" , PALETTERGB ( 0,245,255)}, 98 {"LightSlateGrey" , PALETTERGB (119, 136, 153) },
99 {"MediumSpringGreen" , PALETTERGB ( 0,250,154)}, 99 {"gray" , PALETTERGB (190, 190, 190) },
100 {"Green" , PALETTERGB ( 0,255, 0)}, 100 {"grey" , PALETTERGB (190, 190, 190) },
101 {"green1" , PALETTERGB ( 0,255, 0)}, 101 {"LightGrey" , PALETTERGB (211, 211, 211) },
102 {"SpringGreen" , PALETTERGB ( 0,255,127)}, 102 {"LightGray" , PALETTERGB (211, 211, 211) },
103 {"SpringGreen1" , PALETTERGB ( 0,255,127)}, 103 {"MidnightBlue" , PALETTERGB (25, 25, 112) },
104 {"Cyan" , PALETTERGB ( 0,255,255)}, 104 {"navy" , PALETTERGB (0, 0, 128) },
105 {"cyan1" , PALETTERGB ( 0,255,255)}, 105 {"NavyBlue" , PALETTERGB (0, 0, 128) },
106 {"Gray1" , PALETTERGB ( 3, 3, 3)}, 106 {"CornflowerBlue" , PALETTERGB (100, 149, 237) },
107 {"Grey1" , PALETTERGB ( 3, 3, 3)}, 107 {"DarkSlateBlue" , PALETTERGB (72, 61, 139) },
108 {"Gray2" , PALETTERGB ( 5, 5, 5)}, 108 {"SlateBlue" , PALETTERGB (106, 90, 205) },
109 {"Grey2" , PALETTERGB ( 5, 5, 5)}, 109 {"MediumSlateBlue" , PALETTERGB (123, 104, 238) },
110 {"Gray3" , PALETTERGB ( 8, 8, 8)}, 110 {"LightSlateBlue" , PALETTERGB (132, 112, 255) },
111 {"Grey3" , PALETTERGB ( 8, 8, 8)}, 111 {"MediumBlue" , PALETTERGB (0, 0, 205) },
112 {"Gray4" , PALETTERGB ( 10, 10, 10)}, 112 {"RoyalBlue" , PALETTERGB (65, 105, 225) },
113 {"Grey4" , PALETTERGB ( 10, 10, 10)}, 113 {"blue" , PALETTERGB (0, 0, 255) },
114 {"Gray5" , PALETTERGB ( 13, 13, 13)}, 114 {"DodgerBlue" , PALETTERGB (30, 144, 255) },
115 {"Grey5" , PALETTERGB ( 13, 13, 13)}, 115 {"DeepSkyBlue" , PALETTERGB (0, 191, 255) },
116 {"Gray6" , PALETTERGB ( 15, 15, 15)}, 116 {"SkyBlue" , PALETTERGB (135, 206, 235) },
117 {"Grey6" , PALETTERGB ( 15, 15, 15)}, 117 {"LightSkyBlue" , PALETTERGB (135, 206, 250) },
118 {"DodgerBlue4" , PALETTERGB ( 16, 78,139)}, 118 {"SteelBlue" , PALETTERGB (70, 130, 180) },
119 {"Gray7" , PALETTERGB ( 18, 18, 18)}, 119 {"LightSteelBlue" , PALETTERGB (176, 196, 222) },
120 {"Grey7" , PALETTERGB ( 18, 18, 18)}, 120 {"LightBlue" , PALETTERGB (173, 216, 230) },
121 {"Gray8" , PALETTERGB ( 20, 20, 20)}, 121 {"PowderBlue" , PALETTERGB (176, 224, 230) },
122 {"Grey8" , PALETTERGB ( 20, 20, 20)}, 122 {"PaleTurquoise" , PALETTERGB (175, 238, 238) },
123 {"Gray9" , PALETTERGB ( 23, 23, 23)}, 123 {"DarkTurquoise" , PALETTERGB (0, 206, 209) },
124 {"Grey9" , PALETTERGB ( 23, 23, 23)}, 124 {"MediumTurquoise" , PALETTERGB (72, 209, 204) },
125 {"DodgerBlue3" , PALETTERGB ( 24,116,205)}, 125 {"turquoise" , PALETTERGB (64, 224, 208) },
126 {"MidnightBlue" , PALETTERGB ( 25, 25,112)}, 126 {"cyan" , PALETTERGB (0, 255, 255) },
127 {"Turquoise" , PALETTERGB ( 25,204,223)}, 127 {"LightCyan" , PALETTERGB (224, 255, 255) },
128 {"Gray10" , PALETTERGB ( 26, 26, 26)}, 128 {"CadetBlue" , PALETTERGB (95, 158, 160) },
129 {"Grey10" , PALETTERGB ( 26, 26, 26)}, 129 {"MediumAquamarine" , PALETTERGB (102, 205, 170) },
130 {"Gray11" , PALETTERGB ( 28, 28, 28)}, 130 {"aquamarine" , PALETTERGB (127, 255, 212) },
131 {"Grey11" , PALETTERGB ( 28, 28, 28)}, 131 {"DarkGreen" , PALETTERGB (0, 100, 0) },
132 {"DodgerBlue2" , PALETTERGB ( 28,134,238)}, 132 {"DarkOliveGreen" , PALETTERGB (85, 107, 47) },
133 {"DodgerBlue" , PALETTERGB ( 30,144,255)}, 133 {"DarkSeaGreen" , PALETTERGB (143, 188, 143) },
134 {"DodgerBlue1" , PALETTERGB ( 30,144,255)}, 134 {"SeaGreen" , PALETTERGB (46, 139, 87) },
135 {"Gray12" , PALETTERGB ( 31, 31, 31)}, 135 {"MediumSeaGreen" , PALETTERGB (60, 179, 113) },
136 {"Grey12" , PALETTERGB ( 31, 31, 31)}, 136 {"LightSeaGreen" , PALETTERGB (32, 178, 170) },
137 {"LightSeaGreen" , PALETTERGB ( 32,178,170)}, 137 {"PaleGreen" , PALETTERGB (152, 251, 152) },
138 {"Gray13" , PALETTERGB ( 33, 33, 33)}, 138 {"SpringGreen" , PALETTERGB (0, 255, 127) },
139 {"Grey13" , PALETTERGB ( 33, 33, 33)}, 139 {"LawnGreen" , PALETTERGB (124, 252, 0) },
140 {"Indigo2" , PALETTERGB ( 33,136,104)}, 140 {"green" , PALETTERGB (0, 255, 0) },
141 {"CornflowerBlue" , PALETTERGB ( 34, 34,152)}, 141 {"chartreuse" , PALETTERGB (127, 255, 0) },
142 {"ForestGreen" , PALETTERGB ( 34,139, 34)}, 142 {"MediumSpringGreen" , PALETTERGB (0, 250, 154) },
143 {"Gray14" , PALETTERGB ( 36, 36, 36)}, 143 {"GreenYellow" , PALETTERGB (173, 255, 47) },
144 {"Grey14" , PALETTERGB ( 36, 36, 36)}, 144 {"LimeGreen" , PALETTERGB (50, 205, 50) },
145 {"Gray15" , PALETTERGB ( 38, 38, 38)}, 145 {"YellowGreen" , PALETTERGB (154, 205, 50) },
146 {"Grey15" , PALETTERGB ( 38, 38, 38)}, 146 {"ForestGreen" , PALETTERGB (34, 139, 34) },
147 {"RoyalBlue4" , PALETTERGB ( 39, 64,139)}, 147 {"OliveDrab" , PALETTERGB (107, 142, 35) },
148 {"Gray16" , PALETTERGB ( 41, 41, 41)}, 148 {"DarkKhaki" , PALETTERGB (189, 183, 107) },
149 {"Grey16" , PALETTERGB ( 41, 41, 41)}, 149 {"khaki" , PALETTERGB (240, 230, 140) },
150 {"Gray17" , PALETTERGB ( 43, 43, 43)}, 150 {"PaleGoldenrod" , PALETTERGB (238, 232, 170) },
151 {"Grey17" , PALETTERGB ( 43, 43, 43)}, 151 {"LightGoldenrodYellow" , PALETTERGB (250, 250, 210) },
152 {"Gray18" , PALETTERGB ( 46, 46, 46)}, 152 {"LightYellow" , PALETTERGB (255, 255, 224) },
153 {"Grey18" , PALETTERGB ( 46, 46, 46)}, 153 {"yellow" , PALETTERGB (255, 255, 0) },
154 {"SeaGreen" , PALETTERGB ( 46,139, 87)}, 154 {"gold" , PALETTERGB (255, 215, 0) },
155 {"SeaGreen4" , PALETTERGB ( 46,139, 87)}, 155 {"LightGoldenrod" , PALETTERGB (238, 221, 130) },
156 {"DarkSlateGray" , PALETTERGB ( 47, 79, 79)}, 156 {"goldenrod" , PALETTERGB (218, 165, 32) },
157 {"DarkSlateGrey" , PALETTERGB ( 47, 79, 79)}, 157 {"DarkGoldenrod" , PALETTERGB (184, 134, 11) },
158 {"Gray19" , PALETTERGB ( 48, 48, 48)}, 158 {"RosyBrown" , PALETTERGB (188, 143, 143) },
159 {"Grey19" , PALETTERGB ( 48, 48, 48)}, 159 {"IndianRed" , PALETTERGB (205, 92, 92) },
160 {"MediumForestGreen" , PALETTERGB ( 50,129, 75)}, 160 {"SaddleBrown" , PALETTERGB (139, 69, 19) },
161 {"Aquamarine" , PALETTERGB ( 50,191,193)}, 161 {"sienna" , PALETTERGB (160, 82, 45) },
162 {"YellowGreen" , PALETTERGB ( 50,216, 56)}, 162 {"peru" , PALETTERGB (205, 133, 63) },
163 {"Gray20" , PALETTERGB ( 51, 51, 51)}, 163 {"burlywood" , PALETTERGB (222, 184, 135) },
164 {"Grey20" , PALETTERGB ( 51, 51, 51)}, 164 {"beige" , PALETTERGB (245, 245, 220) },
165 {"MediumSeaGreen" , PALETTERGB ( 52,119,102)}, 165 {"wheat" , PALETTERGB (245, 222, 179) },
166 {"Gray21" , PALETTERGB ( 54, 54, 54)}, 166 {"SandyBrown" , PALETTERGB (244, 164, 96) },
167 {"Grey21" , PALETTERGB ( 54, 54, 54)}, 167 {"tan" , PALETTERGB (210, 180, 140) },
168 {"SteelBlue4" , PALETTERGB ( 54,100,139)}, 168 {"chocolate" , PALETTERGB (210, 105, 30) },
169 {"Gray22" , PALETTERGB ( 56, 56, 56)}, 169 {"firebrick" , PALETTERGB (178, 34, 34) },
170 {"Grey22" , PALETTERGB ( 56, 56, 56)}, 170 {"brown" , PALETTERGB (165, 42, 42) },
171 {"DarkSlateBlue" , PALETTERGB ( 56, 75,102)}, 171 {"DarkSalmon" , PALETTERGB (233, 150, 122) },
172 {"RoyalBlue3" , PALETTERGB ( 58, 95,205)}, 172 {"salmon" , PALETTERGB (250, 128, 114) },
173 {"Gray23" , PALETTERGB ( 59, 59, 59)}, 173 {"LightSalmon" , PALETTERGB (255, 160, 122) },
174 {"Grey23" , PALETTERGB ( 59, 59, 59)}, 174 {"orange" , PALETTERGB (255, 165, 0) },
175 {"Gray24" , PALETTERGB ( 61, 61, 61)}, 175 {"DarkOrange" , PALETTERGB (255, 140, 0) },
176 {"Grey24" , PALETTERGB ( 61, 61, 61)}, 176 {"coral" , PALETTERGB (255, 127, 80) },
177 {"Gray25" , PALETTERGB ( 64, 64, 64)}, 177 {"LightCoral" , PALETTERGB (240, 128, 128) },
178 {"Grey25" , PALETTERGB ( 64, 64, 64)}, 178 {"tomato" , PALETTERGB (255, 99, 71) },
179 {"RoyalBlue" , PALETTERGB ( 65,105,225)}, 179 {"OrangeRed" , PALETTERGB (255, 69, 0) },
180 {"Gray26" , PALETTERGB ( 66, 66, 66)}, 180 {"red" , PALETTERGB (255, 0, 0) },
181 {"Grey26" , PALETTERGB ( 66, 66, 66)}, 181 {"HotPink" , PALETTERGB (255, 105, 180) },
182 {"RoyalBlue2" , PALETTERGB ( 67,110,238)}, 182 {"DeepPink" , PALETTERGB (255, 20, 147) },
183 {"SeaGreen3" , PALETTERGB ( 67,205,128)}, 183 {"pink" , PALETTERGB (255, 192, 203) },
184 {"Gray27" , PALETTERGB ( 69, 69, 69)}, 184 {"LightPink" , PALETTERGB (255, 182, 193) },
185 {"Grey27" , PALETTERGB ( 69, 69, 69)}, 185 {"PaleVioletRed" , PALETTERGB (219, 112, 147) },
186 {"chartreuse4" , PALETTERGB ( 69,139, 0)}, 186 {"maroon" , PALETTERGB (176, 48, 96) },
187 {"aquamarine4" , PALETTERGB ( 69,139,116)}, 187 {"MediumVioletRed" , PALETTERGB (199, 21, 133) },
188 {"SteelBlue" , PALETTERGB ( 70,130,180)}, 188 {"VioletRed" , PALETTERGB (208, 32, 144) },
189 {"SlateBlue4" , PALETTERGB ( 71, 60,139)}, 189 {"magenta" , PALETTERGB (255, 0, 255) },
190 {"Gray28" , PALETTERGB ( 71, 71, 71)}, 190 {"violet" , PALETTERGB (238, 130, 238) },
191 {"Grey28" , PALETTERGB ( 71, 71, 71)}, 191 {"plum" , PALETTERGB (221, 160, 221) },
192 {"RoyalBlue1" , PALETTERGB ( 72,118,255)}, 192 {"orchid" , PALETTERGB (218, 112, 214) },
193 {"Gray29" , PALETTERGB ( 74, 74, 74)}, 193 {"MediumOrchid" , PALETTERGB (186, 85, 211) },
194 {"Grey29" , PALETTERGB ( 74, 74, 74)}, 194 {"DarkOrchid" , PALETTERGB (153, 50, 204) },
195 {"SkyBlue4" , PALETTERGB ( 74,112,139)}, 195 {"DarkViolet" , PALETTERGB (148, 0, 211) },
196 {"Indigo" , PALETTERGB ( 75, 0,130)}, 196 {"BlueViolet" , PALETTERGB (138, 43, 226) },
197 {"Gray30" , PALETTERGB ( 77, 77, 77)}, 197 {"purple" , PALETTERGB (160, 32, 240) },
198 {"Grey30" , PALETTERGB ( 77, 77, 77)}, 198 {"MediumPurple" , PALETTERGB (147, 112, 219) },
199 {"SeaGreen2" , PALETTERGB ( 78,238,148)}, 199 {"thistle" , PALETTERGB (216, 191, 216) },
200 {"Gray31" , PALETTERGB ( 79, 79, 79)}, 200 {"snow1" , PALETTERGB (255, 250, 250) },
201 {"Grey31" , PALETTERGB ( 79, 79, 79)}, 201 {"snow2" , PALETTERGB (238, 233, 233) },
202 {"SteelBlue3" , PALETTERGB ( 79,148,205)}, 202 {"snow3" , PALETTERGB (205, 201, 201) },
203 {"Gray32" , PALETTERGB ( 82, 82, 82)}, 203 {"snow4" , PALETTERGB (139, 137, 137) },
204 {"Grey32" , PALETTERGB ( 82, 82, 82)}, 204 {"seashell1" , PALETTERGB (255, 245, 238) },
205 {"DarkSlateGray4" , PALETTERGB ( 82,139,139)}, 205 {"seashell2" , PALETTERGB (238, 229, 222) },
206 {"CadetBlue4" , PALETTERGB ( 83,134,139)}, 206 {"seashell3" , PALETTERGB (205, 197, 191) },
207 {"DimGray" , PALETTERGB ( 84, 84, 84)}, 207 {"seashell4" , PALETTERGB (139, 134, 130) },
208 {"DimGrey" , PALETTERGB ( 84, 84, 84)}, 208 {"AntiqueWhite1" , PALETTERGB (255, 239, 219) },
209 {"Gray33" , PALETTERGB ( 84, 84, 84)}, 209 {"AntiqueWhite2" , PALETTERGB (238, 223, 204) },
210 {"Grey33" , PALETTERGB ( 84, 84, 84)}, 210 {"AntiqueWhite3" , PALETTERGB (205, 192, 176) },
211 {"PaleGreen4" , PALETTERGB ( 84,139, 84)}, 211 {"AntiqueWhite4" , PALETTERGB (139, 131, 120) },
212 {"SeaGreen1" , PALETTERGB ( 84,255,159)}, 212 {"bisque1" , PALETTERGB (255, 228, 196) },
213 {"purple4" , PALETTERGB ( 85, 26,139)}, 213 {"bisque2" , PALETTERGB (238, 213, 183) },
214 {"DarkOliveGreen" , PALETTERGB ( 85, 86, 47)}, 214 {"bisque3" , PALETTERGB (205, 183, 158) },
215 {"Gray34" , PALETTERGB ( 87, 87, 87)}, 215 {"bisque4" , PALETTERGB (139, 125, 107) },
216 {"Grey34" , PALETTERGB ( 87, 87, 87)}, 216 {"PeachPuff1" , PALETTERGB (255, 218, 185) },
217 {"Gray35" , PALETTERGB ( 89, 89, 89)}, 217 {"PeachPuff2" , PALETTERGB (238, 203, 173) },
218 {"Grey35" , PALETTERGB ( 89, 89, 89)}, 218 {"PeachPuff3" , PALETTERGB (205, 175, 149) },
219 {"Gray36" , PALETTERGB ( 92, 92, 92)}, 219 {"PeachPuff4" , PALETTERGB (139, 119, 101) },
220 {"Grey36" , PALETTERGB ( 92, 92, 92)}, 220 {"NavajoWhite1" , PALETTERGB (255, 222, 173) },
221 {"SteelBlue2" , PALETTERGB ( 92,172,238)}, 221 {"NavajoWhite2" , PALETTERGB (238, 207, 161) },
222 {"MediumPurple4" , PALETTERGB ( 93, 71,139)}, 222 {"NavajoWhite3" , PALETTERGB (205, 179, 139) },
223 {"Gray37" , PALETTERGB ( 94, 94, 94)}, 223 {"NavajoWhite4" , PALETTERGB (139, 121, 94) },
224 {"Grey37" , PALETTERGB ( 94, 94, 94)}, 224 {"LemonChiffon1" , PALETTERGB (255, 250, 205) },
225 {"CadetBlue" , PALETTERGB ( 95,146,158)}, 225 {"LemonChiffon2" , PALETTERGB (238, 233, 191) },
226 {"LightSkyBlue4" , PALETTERGB ( 96,123,139)}, 226 {"LemonChiffon3" , PALETTERGB (205, 201, 165) },
227 {"Gray38" , PALETTERGB ( 97, 97, 97)}, 227 {"LemonChiffon4" , PALETTERGB (139, 137, 112) },
228 {"Grey38" , PALETTERGB ( 97, 97, 97)}, 228 {"cornsilk1" , PALETTERGB (255, 248, 220) },
229 {"Gray39" , PALETTERGB ( 99, 99, 99)}, 229 {"cornsilk2" , PALETTERGB (238, 232, 205) },
230 {"Grey39" , PALETTERGB ( 99, 99, 99)}, 230 {"cornsilk3" , PALETTERGB (205, 200, 177) },
231 {"SteelBlue1" , PALETTERGB ( 99,184,255)}, 231 {"cornsilk4" , PALETTERGB (139, 136, 120) },
232 {"Gray40" , PALETTERGB (102,102,102)}, 232 {"ivory1" , PALETTERGB (255, 255, 240) },
233 {"Grey40" , PALETTERGB (102,102,102)}, 233 {"ivory2" , PALETTERGB (238, 238, 224) },
234 {"PaleTurquoise4" , PALETTERGB (102,139,139)}, 234 {"ivory3" , PALETTERGB (205, 205, 193) },
235 {"chartreuse3" , PALETTERGB (102,205, 0)}, 235 {"ivory4" , PALETTERGB (139, 139, 131) },
236 {"aquamarine3" , PALETTERGB (102,205,170)}, 236 {"honeydew1" , PALETTERGB (240, 255, 240) },
237 {"DarkOrchid4" , PALETTERGB (104, 34,139)}, 237 {"honeydew2" , PALETTERGB (224, 238, 224) },
238 {"LightBlue4" , PALETTERGB (104,131,139)}, 238 {"honeydew3" , PALETTERGB (193, 205, 193) },
239 {"SlateBlue3" , PALETTERGB (105, 89,205)}, 239 {"honeydew4" , PALETTERGB (131, 139, 131) },
240 {"Gray41" , PALETTERGB (105,105,105)}, 240 {"LavenderBlush1" , PALETTERGB (255, 240, 245) },
241 {"Grey41" , PALETTERGB (105,105,105)}, 241 {"LavenderBlush2" , PALETTERGB (238, 224, 229) },
242 {"OliveDrab4" , PALETTERGB (105,139, 34)}, 242 {"LavenderBlush3" , PALETTERGB (205, 193, 197) },
243 {"DarkSeaGreen4" , PALETTERGB (105,139,105)}, 243 {"LavenderBlush4" , PALETTERGB (139, 131, 134) },
244 {"SlateBlue" , PALETTERGB (106, 90,205)}, 244 {"MistyRose1" , PALETTERGB (255, 228, 225) },
245 {"MediumSlateBlue" , PALETTERGB (106,106,141)}, 245 {"MistyRose2" , PALETTERGB (238, 213, 210) },
246 {"IndianRed" , PALETTERGB (107, 57, 57)}, 246 {"MistyRose3" , PALETTERGB (205, 183, 181) },
247 {"Gray42" , PALETTERGB (107,107,107)}, 247 {"MistyRose4" , PALETTERGB (139, 125, 123) },
248 {"Grey42" , PALETTERGB (107,107,107)}, 248 {"azure1" , PALETTERGB (240, 255, 255) },
249 {"OliveDrab" , PALETTERGB (107,142, 35)}, 249 {"azure2" , PALETTERGB (224, 238, 238) },
250 {"SlateGray4" , PALETTERGB (108,123,139)}, 250 {"azure3" , PALETTERGB (193, 205, 205) },
251 {"SkyBlue3" , PALETTERGB (108,166,205)}, 251 {"azure4" , PALETTERGB (131, 139, 139) },
252 {"Gray43" , PALETTERGB (110,110,110)}, 252 {"SlateBlue1" , PALETTERGB (131, 111, 255) },
253 {"Grey43" , PALETTERGB (110,110,110)}, 253 {"SlateBlue2" , PALETTERGB (122, 103, 238) },
254 {"LightSteelBlue4" , PALETTERGB (110,123,139)}, 254 {"SlateBlue3" , PALETTERGB (105, 89, 205) },
255 {"DarkOliveGreen4" , PALETTERGB (110,139, 61)}, 255 {"SlateBlue4" , PALETTERGB (71, 60, 139) },
256 {"Gray44" , PALETTERGB (112,112,112)}, 256 {"RoyalBlue1" , PALETTERGB (72, 118, 255) },
257 {"Grey44" , PALETTERGB (112,112,112)}, 257 {"RoyalBlue2" , PALETTERGB (67, 110, 238) },
258 {"SlateGray" , PALETTERGB (112,128,144)}, 258 {"RoyalBlue3" , PALETTERGB (58, 95, 205) },
259 {"SlateGrey" , PALETTERGB (112,128,144)}, 259 {"RoyalBlue4" , PALETTERGB (39, 64, 139) },
260 {"SkyBlue" , PALETTERGB (114,159,255)}, 260 {"blue1" , PALETTERGB (0, 0, 255) },
261 {"Gray45" , PALETTERGB (115,115,115)}, 261 {"blue2" , PALETTERGB (0, 0, 238) },
262 {"Grey45" , PALETTERGB (115,115,115)}, 262 {"blue3" , PALETTERGB (0, 0, 205) },
263 {"PaleGreen" , PALETTERGB (115,222,120)}, 263 {"blue4" , PALETTERGB (0, 0, 139) },
264 {"Gray46" , PALETTERGB (117,117,117)}, 264 {"DodgerBlue1" , PALETTERGB (30, 144, 255) },
265 {"Grey46" , PALETTERGB (117,117,117)}, 265 {"DodgerBlue2" , PALETTERGB (28, 134, 238) },
266 {"chartreuse2" , PALETTERGB (118,238, 0)}, 266 {"DodgerBlue3" , PALETTERGB (24, 116, 205) },
267 {"aquamarine2" , PALETTERGB (118,238,198)}, 267 {"DodgerBlue4" , PALETTERGB (16, 78, 139) },
268 {"LightSlateGray" , PALETTERGB (119,136,153)}, 268 {"SteelBlue1" , PALETTERGB (99, 184, 255) },
269 {"LightSlateGrey" , PALETTERGB (119,136,153)}, 269 {"SteelBlue2" , PALETTERGB (92, 172, 238) },
270 {"Gray47" , PALETTERGB (120,120,120)}, 270 {"SteelBlue3" , PALETTERGB (79, 148, 205) },
271 {"Grey47" , PALETTERGB (120,120,120)}, 271 {"SteelBlue4" , PALETTERGB (54, 100, 139) },
272 {"DarkSlateGray3" , PALETTERGB (121,205,205)}, 272 {"DeepSkyBlue1" , PALETTERGB (0, 191, 255) },
273 {"MediumOrchid4" , PALETTERGB (122, 55,139)}, 273 {"DeepSkyBlue2" , PALETTERGB (0, 178, 238) },
274 {"SlateBlue2" , PALETTERGB (122,103,238)}, 274 {"DeepSkyBlue3" , PALETTERGB (0, 154, 205) },
275 {"Gray48" , PALETTERGB (122,122,122)}, 275 {"DeepSkyBlue4" , PALETTERGB (0, 104, 139) },
276 {"Grey48" , PALETTERGB (122,122,122)}, 276 {"SkyBlue1" , PALETTERGB (135, 206, 255) },
277 {"LightCyan4" , PALETTERGB (122,139,139)}, 277 {"SkyBlue2" , PALETTERGB (126, 192, 238) },
278 {"CadetBlue3" , PALETTERGB (122,197,205)}, 278 {"SkyBlue3" , PALETTERGB (108, 166, 205) },
279 {"LightSteelBlue" , PALETTERGB (124,152,211)}, 279 {"SkyBlue4" , PALETTERGB (74, 112, 139) },
280 {"PaleGreen3" , PALETTERGB (124,205,124)}, 280 {"LightSkyBlue1" , PALETTERGB (176, 226, 255) },
281 {"LawnGreen" , PALETTERGB (124,252, 0)}, 281 {"LightSkyBlue2" , PALETTERGB (164, 211, 238) },
282 {"purple3" , PALETTERGB (125, 38,205)}, 282 {"LightSkyBlue3" , PALETTERGB (141, 182, 205) },
283 {"Gray49" , PALETTERGB (125,125,125)}, 283 {"LightSkyBlue4" , PALETTERGB (96, 123, 139) },
284 {"Grey49" , PALETTERGB (125,125,125)}, 284 {"SlateGray1" , PALETTERGB (198, 226, 255) },
285 {"Gray" , PALETTERGB (126,126,126)}, 285 {"SlateGray2" , PALETTERGB (185, 211, 238) },
286 {"Grey" , PALETTERGB (126,126,126)}, 286 {"SlateGray3" , PALETTERGB (159, 182, 205) },
287 {"SkyBlue2" , PALETTERGB (126,192,238)}, 287 {"SlateGray4" , PALETTERGB (108, 123, 139) },
288 {"Gray50" , PALETTERGB (127,127,127)}, 288 {"LightSteelBlue1" , PALETTERGB (202, 225, 255) },
289 {"Grey50" , PALETTERGB (127,127,127)}, 289 {"LightSteelBlue2" , PALETTERGB (188, 210, 238) },
290 {"chartreuse" , PALETTERGB (127,255, 0)}, 290 {"LightSteelBlue3" , PALETTERGB (162, 181, 205) },
291 {"chartreuse1" , PALETTERGB (127,255, 0)}, 291 {"LightSteelBlue4" , PALETTERGB (110, 123, 139) },
292 {"aquamarine1" , PALETTERGB (127,255,212)}, 292 {"LightBlue1" , PALETTERGB (191, 239, 255) },
293 {"Gray51" , PALETTERGB (130,130,130)}, 293 {"LightBlue2" , PALETTERGB (178, 223, 238) },
294 {"Grey51" , PALETTERGB (130,130,130)}, 294 {"LightBlue3" , PALETTERGB (154, 192, 205) },
295 {"SlateBlue1" , PALETTERGB (131,111,255)}, 295 {"LightBlue4" , PALETTERGB (104, 131, 139) },
296 {"honeydew4" , PALETTERGB (131,139,131)}, 296 {"LightCyan1" , PALETTERGB (224, 255, 255) },
297 {"azure4" , PALETTERGB (131,139,139)}, 297 {"LightCyan2" , PALETTERGB (209, 238, 238) },
298 {"LightSlateBlue" , PALETTERGB (132,112,255)}, 298 {"LightCyan3" , PALETTERGB (180, 205, 205) },
299 {"Gray52" , PALETTERGB (133,133,133)}, 299 {"LightCyan4" , PALETTERGB (122, 139, 139) },
300 {"Grey52" , PALETTERGB (133,133,133)}, 300 {"PaleTurquoise1" , PALETTERGB (187, 255, 255) },
301 {"Gray53" , PALETTERGB (135,135,135)}, 301 {"PaleTurquoise2" , PALETTERGB (174, 238, 238) },
302 {"Grey53" , PALETTERGB (135,135,135)}, 302 {"PaleTurquoise3" , PALETTERGB (150, 205, 205) },
303 {"LightSkyBlue" , PALETTERGB (135,206,250)}, 303 {"PaleTurquoise4" , PALETTERGB (102, 139, 139) },
304 {"SkyBlue1" , PALETTERGB (135,206,255)}, 304 {"CadetBlue1" , PALETTERGB (152, 245, 255) },
305 {"MediumPurple3" , PALETTERGB (137,104,205)}, 305 {"CadetBlue2" , PALETTERGB (142, 229, 238) },
306 {"BlueViolet" , PALETTERGB (138, 43,226)}, 306 {"CadetBlue3" , PALETTERGB (122, 197, 205) },
307 {"Gray54" , PALETTERGB (138,138,138)}, 307 {"CadetBlue4" , PALETTERGB (83, 134, 139) },
308 {"Grey54" , PALETTERGB (138,138,138)}, 308 {"turquoise1" , PALETTERGB (0, 245, 255) },
309 {"red4" , PALETTERGB (139, 0, 0)}, 309 {"turquoise2" , PALETTERGB (0, 229, 238) },
310 {"magenta4" , PALETTERGB (139, 0,139)}, 310 {"turquoise3" , PALETTERGB (0, 197, 205) },
311 {"DeepPink4" , PALETTERGB (139, 10, 80)}, 311 {"turquoise4" , PALETTERGB (0, 134, 139) },
312 {"firebrick4" , PALETTERGB (139, 26, 26)}, 312 {"cyan1" , PALETTERGB (0, 255, 255) },
313 {"maroon4" , PALETTERGB (139, 28, 98)}, 313 {"cyan2" , PALETTERGB (0, 238, 238) },
314 {"DarkOrchid" , PALETTERGB (139, 32,139)}, 314 {"cyan3" , PALETTERGB (0, 205, 205) },
315 {"VioletRed4" , PALETTERGB (139, 34, 82)}, 315 {"cyan4" , PALETTERGB (0, 139, 139) },
316 {"brown4" , PALETTERGB (139, 35, 35)}, 316 {"DarkSlateGray1" , PALETTERGB (151, 255, 255) },
317 {"OrangeRed4" , PALETTERGB (139, 37, 0)}, 317 {"DarkSlateGray2" , PALETTERGB (141, 238, 238) },
318 {"tomato4" , PALETTERGB (139, 54, 38)}, 318 {"DarkSlateGray3" , PALETTERGB (121, 205, 205) },
319 {"IndianRed4" , PALETTERGB (139, 58, 58)}, 319 {"DarkSlateGray4" , PALETTERGB (82, 139, 139) },
320 {"HotPink4" , PALETTERGB (139, 58, 98)}, 320 {"aquamarine1" , PALETTERGB (127, 255, 212) },
321 {"coral4" , PALETTERGB (139, 62, 47)}, 321 {"aquamarine2" , PALETTERGB (118, 238, 198) },
322 {"DarkOrange4" , PALETTERGB (139, 69, 0)}, 322 {"aquamarine3" , PALETTERGB (102, 205, 170) },
323 {"SaddleBrown" , PALETTERGB (139, 69, 19)}, 323 {"aquamarine4" , PALETTERGB (69, 139, 116) },
324 {"chocolate4" , PALETTERGB (139, 69, 19)}, 324 {"DarkSeaGreen1" , PALETTERGB (193, 255, 193) },
325 {"sienna4" , PALETTERGB (139, 71, 38)}, 325 {"DarkSeaGreen2" , PALETTERGB (180, 238, 180) },
326 {"PaleVioletRed4" , PALETTERGB (139, 71, 93)}, 326 {"DarkSeaGreen3" , PALETTERGB (155, 205, 155) },
327 {"orchid4" , PALETTERGB (139, 71,137)}, 327 {"DarkSeaGreen4" , PALETTERGB (105, 139, 105) },
328 {"salmon4" , PALETTERGB (139, 76, 57)}, 328 {"SeaGreen1" , PALETTERGB (84, 255, 159) },
329 {"LightSalmon4" , PALETTERGB (139, 87, 66)}, 329 {"SeaGreen2" , PALETTERGB (78, 238, 148) },
330 {"orange4" , PALETTERGB (139, 90, 0)}, 330 {"SeaGreen3" , PALETTERGB (67, 205, 128) },
331 {"tan4" , PALETTERGB (139, 90, 43)}, 331 {"SeaGreen4" , PALETTERGB (46, 139, 87) },
332 {"LightPink4" , PALETTERGB (139, 95,101)}, 332 {"PaleGreen1" , PALETTERGB (154, 255, 154) },
333 {"pink4" , PALETTERGB (139, 99,108)}, 333 {"PaleGreen2" , PALETTERGB (144, 238, 144) },
334 {"DarkGoldenrod4" , PALETTERGB (139,101, 8)}, 334 {"PaleGreen3" , PALETTERGB (124, 205, 124) },
335 {"plum4" , PALETTERGB (139,102,139)}, 335 {"PaleGreen4" , PALETTERGB (84, 139, 84) },
336 {"goldenrod4" , PALETTERGB (139,105, 20)}, 336 {"SpringGreen1" , PALETTERGB (0, 255, 127) },
337 {"RosyBrown4" , PALETTERGB (139,105,105)}, 337 {"SpringGreen2" , PALETTERGB (0, 238, 118) },
338 {"burlywood4" , PALETTERGB (139,115, 85)}, 338 {"SpringGreen3" , PALETTERGB (0, 205, 102) },
339 {"gold4" , PALETTERGB (139,117, 0)}, 339 {"SpringGreen4" , PALETTERGB (0, 139, 69) },
340 {"PeachPuff4" , PALETTERGB (139,119,101)}, 340 {"green1" , PALETTERGB (0, 255, 0) },
341 {"NavajoWhite4" , PALETTERGB (139,121, 94)}, 341 {"green2" , PALETTERGB (0, 238, 0) },
342 {"thistle4" , PALETTERGB (139,123,139)}, 342 {"green3" , PALETTERGB (0, 205, 0) },
343 {"bisque4" , PALETTERGB (139,125,107)}, 343 {"green4" , PALETTERGB (0, 139, 0) },
344 {"MistyRose4" , PALETTERGB (139,125,123)}, 344 {"chartreuse1" , PALETTERGB (127, 255, 0) },
345 {"wheat4" , PALETTERGB (139,126,102)}, 345 {"chartreuse2" , PALETTERGB (118, 238, 0) },
346 {"LightGoldenrod4" , PALETTERGB (139,129, 76)}, 346 {"chartreuse3" , PALETTERGB (102, 205, 0) },
347 {"AntiqueWhite4" , PALETTERGB (139,131,120)}, 347 {"chartreuse4" , PALETTERGB (69, 139, 0) },
348 {"LavenderBlush4" , PALETTERGB (139,131,134)}, 348 {"OliveDrab1" , PALETTERGB (192, 255, 62) },
349 {"khaki4" , PALETTERGB (139,134, 78)}, 349 {"OliveDrab2" , PALETTERGB (179, 238, 58) },
350 {"seashell4" , PALETTERGB (139,134,130)}, 350 {"OliveDrab3" , PALETTERGB (154, 205, 50) },
351 {"cornsilk4" , PALETTERGB (139,136,120)}, 351 {"OliveDrab4" , PALETTERGB (105, 139, 34) },
352 {"LemonChiffon4" , PALETTERGB (139,137,112)}, 352 {"DarkOliveGreen1" , PALETTERGB (202, 255, 112) },
353 {"snow4" , PALETTERGB (139,137,137)}, 353 {"DarkOliveGreen2" , PALETTERGB (188, 238, 104) },
354 {"yellow4" , PALETTERGB (139,139, 0)}, 354 {"DarkOliveGreen3" , PALETTERGB (162, 205, 90) },
355 {"LightYellow4" , PALETTERGB (139,139,122)}, 355 {"DarkOliveGreen4" , PALETTERGB (110, 139, 61) },
356 {"ivory4" , PALETTERGB (139,139,131)}, 356 {"khaki1" , PALETTERGB (255, 246, 143) },
357 {"Gray55" , PALETTERGB (140,140,140)}, 357 {"khaki2" , PALETTERGB (238, 230, 133) },
358 {"Grey55" , PALETTERGB (140,140,140)}, 358 {"khaki3" , PALETTERGB (205, 198, 115) },
359 {"LightSkyBlue3" , PALETTERGB (141,182,205)}, 359 {"khaki4" , PALETTERGB (139, 134, 78) },
360 {"DarkSlateGray2" , PALETTERGB (141,238,238)}, 360 {"LightGoldenrod1" , PALETTERGB (255, 236, 139) },
361 {"Firebrick" , PALETTERGB (142, 35, 35)}, 361 {"LightGoldenrod2" , PALETTERGB (238, 220, 130) },
362 {"CadetBlue2" , PALETTERGB (142,229,238)}, 362 {"LightGoldenrod3" , PALETTERGB (205, 190, 112) },
363 {"Maroon" , PALETTERGB (143, 0, 82)}, 363 {"LightGoldenrod4" , PALETTERGB (139, 129, 76) },
364 {"Gray56" , PALETTERGB (143,143,143)}, 364 {"LightYellow1" , PALETTERGB (255, 255, 224) },
365 {"Grey56" , PALETTERGB (143,143,143)}, 365 {"LightYellow2" , PALETTERGB (238, 238, 209) },
366 {"DarkSeaGreen" , PALETTERGB (143,188,143)}, 366 {"LightYellow3" , PALETTERGB (205, 205, 180) },
367 {"PaleGreen2" , PALETTERGB (144,238,144)}, 367 {"LightYellow4" , PALETTERGB (139, 139, 122) },
368 {"purple2" , PALETTERGB (145, 44,238)}, 368 {"yellow1" , PALETTERGB (255, 255, 0) },
369 {"Gray57" , PALETTERGB (145,145,145)}, 369 {"yellow2" , PALETTERGB (238, 238, 0) },
370 {"Grey57" , PALETTERGB (145,145,145)}, 370 {"yellow3" , PALETTERGB (205, 205, 0) },
371 {"MediumPurple" , PALETTERGB (147,112,219)}, 371 {"yellow4" , PALETTERGB (139, 139, 0) },
372 {"DarkViolet" , PALETTERGB (148, 0,211)}, 372 {"gold1" , PALETTERGB (255, 215, 0) },
373 {"Gray58" , PALETTERGB (148,148,148)}, 373 {"gold2" , PALETTERGB (238, 201, 0) },
374 {"Grey58" , PALETTERGB (148,148,148)}, 374 {"gold3" , PALETTERGB (205, 173, 0) },
375 {"Sienna" , PALETTERGB (150, 82, 45)}, 375 {"gold4" , PALETTERGB (139, 117, 0) },
376 {"Gray59" , PALETTERGB (150,150,150)}, 376 {"goldenrod1" , PALETTERGB (255, 193, 37) },
377 {"Grey59" , PALETTERGB (150,150,150)}, 377 {"goldenrod2" , PALETTERGB (238, 180, 34) },
378 {"PaleTurquoise3" , PALETTERGB (150,205,205)}, 378 {"goldenrod3" , PALETTERGB (205, 155, 29) },
379 {"DarkSlateGray1" , PALETTERGB (151,255,255)}, 379 {"goldenrod4" , PALETTERGB (139, 105, 20) },
380 {"CadetBlue1" , PALETTERGB (152,245,255)}, 380 {"DarkGoldenrod1" , PALETTERGB (255, 185, 15) },
381 {"Gray60" , PALETTERGB (153,153,153)}, 381 {"DarkGoldenrod2" , PALETTERGB (238, 173, 14) },
382 {"Grey60" , PALETTERGB (153,153,153)}, 382 {"DarkGoldenrod3" , PALETTERGB (205, 149, 12) },
383 {"DarkOrchid3" , PALETTERGB (154, 50,205)}, 383 {"DarkGoldenrod4" , PALETTERGB (139, 101, 8) },
384 {"LightBlue3" , PALETTERGB (154,192,205)}, 384 {"RosyBrown1" , PALETTERGB (255, 193, 193) },
385 {"OliveDrab3" , PALETTERGB (154,205, 50)}, 385 {"RosyBrown2" , PALETTERGB (238, 180, 180) },
386 {"PaleGreen1" , PALETTERGB (154,255,154)}, 386 {"RosyBrown3" , PALETTERGB (205, 155, 155) },
387 {"purple1" , PALETTERGB (155, 48,255)}, 387 {"RosyBrown4" , PALETTERGB (139, 105, 105) },
388 {"DarkSeaGreen3" , PALETTERGB (155,205,155)}, 388 {"IndianRed1" , PALETTERGB (255, 106, 106) },
389 {"Violet" , PALETTERGB (156, 62,206)}, 389 {"IndianRed2" , PALETTERGB (238, 99, 99) },
390 {"Gray61" , PALETTERGB (156,156,156)}, 390 {"IndianRed3" , PALETTERGB (205, 85, 85) },
391 {"Grey61" , PALETTERGB (156,156,156)}, 391 {"IndianRed4" , PALETTERGB (139, 58, 58) },
392 {"Gray62" , PALETTERGB (158,158,158)}, 392 {"sienna1" , PALETTERGB (255, 130, 71) },
393 {"Grey62" , PALETTERGB (158,158,158)}, 393 {"sienna2" , PALETTERGB (238, 121, 66) },
394 {"MediumPurple2" , PALETTERGB (159,121,238)}, 394 {"sienna3" , PALETTERGB (205, 104, 57) },
395 {"SlateGray3" , PALETTERGB (159,182,205)}, 395 {"sienna4" , PALETTERGB (139, 71, 38) },
396 {"purple" , PALETTERGB (160, 32,240)}, 396 {"burlywood1" , PALETTERGB (255, 211, 155) },
397 {"Gray63" , PALETTERGB (161,161,161)}, 397 {"burlywood2" , PALETTERGB (238, 197, 145) },
398 {"Grey63" , PALETTERGB (161,161,161)}, 398 {"burlywood3" , PALETTERGB (205, 170, 125) },
399 {"LightSteelBlue3" , PALETTERGB (162,181,205)}, 399 {"burlywood4" , PALETTERGB (139, 115, 85) },
400 {"DarkOliveGreen3" , PALETTERGB (162,205, 90)}, 400 {"wheat1" , PALETTERGB (255, 231, 186) },
401 {"Gray64" , PALETTERGB (163,163,163)}, 401 {"wheat2" , PALETTERGB (238, 216, 174) },
402 {"Grey64" , PALETTERGB (163,163,163)}, 402 {"wheat3" , PALETTERGB (205, 186, 150) },
403 {"LightSkyBlue2" , PALETTERGB (164,211,238)}, 403 {"wheat4" , PALETTERGB (139, 126, 102) },
404 {"Brown" , PALETTERGB (165, 42, 42)}, 404 {"tan1" , PALETTERGB (255, 165, 79) },
405 {"Gray65" , PALETTERGB (166,166,166)}, 405 {"tan2" , PALETTERGB (238, 154, 73) },
406 {"Grey65" , PALETTERGB (166,166,166)}, 406 {"tan3" , PALETTERGB (205, 133, 63) },
407 {"Gray66" , PALETTERGB (168,168,168)}, 407 {"tan4" , PALETTERGB (139, 90, 43) },
408 {"Grey66" , PALETTERGB (168,168,168)}, 408 {"chocolate1" , PALETTERGB (255, 127, 36) },
409 {"LightGray" , PALETTERGB (168,168,168)}, 409 {"chocolate2" , PALETTERGB (238, 118, 33) },
410 {"LightGrey" , PALETTERGB (168,168,168)}, 410 {"chocolate3" , PALETTERGB (205, 102, 29) },
411 {"MediumPurple1" , PALETTERGB (171,130,255)}, 411 {"chocolate4" , PALETTERGB (139, 69, 19) },
412 {"Gray67" , PALETTERGB (171,171,171)}, 412 {"firebrick1" , PALETTERGB (255, 48, 48) },
413 {"Grey67" , PALETTERGB (171,171,171)}, 413 {"firebrick2" , PALETTERGB (238, 44, 44) },
414 {"Gray68" , PALETTERGB (173,173,173)}, 414 {"firebrick3" , PALETTERGB (205, 38, 38) },
415 {"Grey68" , PALETTERGB (173,173,173)}, 415 {"firebrick4" , PALETTERGB (139, 26, 26) },
416 {"LightBlue" , PALETTERGB (173,216,230)}, 416 {"brown1" , PALETTERGB (255, 64, 64) },
417 {"GreenYellow" , PALETTERGB (173,255, 47)}, 417 {"brown2" , PALETTERGB (238, 59, 59) },
418 {"PaleTurquoise2" , PALETTERGB (174,238,238)}, 418 {"brown3" , PALETTERGB (205, 51, 51) },
419 {"PaleTurquoise" , PALETTERGB (175,238,238)}, 419 {"brown4" , PALETTERGB (139, 35, 35) },
420 {"Gray69" , PALETTERGB (176,176,176)}, 420 {"salmon1" , PALETTERGB (255, 140, 105) },
421 {"Grey69" , PALETTERGB (176,176,176)}, 421 {"salmon2" , PALETTERGB (238, 130, 98) },
422 {"PowderBlue" , PALETTERGB (176,224,230)}, 422 {"salmon3" , PALETTERGB (205, 112, 84) },
423 {"LightSkyBlue1" , PALETTERGB (176,226,255)}, 423 {"salmon4" , PALETTERGB (139, 76, 57) },
424 {"DarkOrchid2" , PALETTERGB (178, 58,238)}, 424 {"LightSalmon1" , PALETTERGB (255, 160, 122) },
425 {"LightBlue2" , PALETTERGB (178,223,238)}, 425 {"LightSalmon2" , PALETTERGB (238, 149, 114) },
426 {"Khaki" , PALETTERGB (179,179,126)}, 426 {"LightSalmon3" , PALETTERGB (205, 129, 98) },
427 {"Gray70" , PALETTERGB (179,179,179)}, 427 {"LightSalmon4" , PALETTERGB (139, 87, 66) },
428 {"Grey70" , PALETTERGB (179,179,179)}, 428 {"orange1" , PALETTERGB (255, 165, 0) },
429 {"OliveDrab2" , PALETTERGB (179,238, 58)}, 429 {"orange2" , PALETTERGB (238, 154, 0) },
430 {"MediumOrchid3" , PALETTERGB (180, 82,205)}, 430 {"orange3" , PALETTERGB (205, 133, 0) },
431 {"LightCyan3" , PALETTERGB (180,205,205)}, 431 {"orange4" , PALETTERGB (139, 90, 0) },
432 {"DarkSeaGreen2" , PALETTERGB (180,238,180)}, 432 {"DarkOrange1" , PALETTERGB (255, 127, 0) },
433 {"Gray71" , PALETTERGB (181,181,181)}, 433 {"DarkOrange2" , PALETTERGB (238, 118, 0) },
434 {"Grey71" , PALETTERGB (181,181,181)}, 434 {"DarkOrange3" , PALETTERGB (205, 102, 0) },
435 {"DarkGoldenrod" , PALETTERGB (184,134, 11)}, 435 {"DarkOrange4" , PALETTERGB (139, 69, 0) },
436 {"Gray72" , PALETTERGB (184,184,184)}, 436 {"coral1" , PALETTERGB (255, 114, 86) },
437 {"Grey72" , PALETTERGB (184,184,184)}, 437 {"coral2" , PALETTERGB (238, 106, 80) },
438 {"SlateGray2" , PALETTERGB (185,211,238)}, 438 {"coral3" , PALETTERGB (205, 91, 69) },
439 {"MediumOrchid" , PALETTERGB (186, 85,211)}, 439 {"coral4" , PALETTERGB (139, 62, 47) },
440 {"Gray73" , PALETTERGB (186,186,186)}, 440 {"tomato1" , PALETTERGB (255, 99, 71) },
441 {"Grey73" , PALETTERGB (186,186,186)}, 441 {"tomato2" , PALETTERGB (238, 92, 66) },
442 {"PaleTurquoise1" , PALETTERGB (187,255,255)}, 442 {"tomato3" , PALETTERGB (205, 79, 57) },
443 {"RosyBrown" , PALETTERGB (188,143,143)}, 443 {"tomato4" , PALETTERGB (139, 54, 38) },
444 {"LightSteelBlue2" , PALETTERGB (188,210,238)}, 444 {"OrangeRed1" , PALETTERGB (255, 69, 0) },
445 {"DarkOliveGreen2" , PALETTERGB (188,238,104)}, 445 {"OrangeRed2" , PALETTERGB (238, 64, 0) },
446 {"DarkKhaki" , PALETTERGB (189,183,107)}, 446 {"OrangeRed3" , PALETTERGB (205, 55, 0) },
447 {"Gray74" , PALETTERGB (189,189,189)}, 447 {"OrangeRed4" , PALETTERGB (139, 37, 0) },
448 {"Grey74" , PALETTERGB (189,189,189)}, 448 {"red1" , PALETTERGB (255, 0, 0) },
449 {"DarkOrchid1" , PALETTERGB (191, 62,255)}, 449 {"red2" , PALETTERGB (238, 0, 0) },
450 {"Gray75" , PALETTERGB (191,191,191)}, 450 {"red3" , PALETTERGB (205, 0, 0) },
451 {"Grey75" , PALETTERGB (191,191,191)}, 451 {"red4" , PALETTERGB (139, 0, 0) },
452 {"LightBlue1" , PALETTERGB (191,239,255)}, 452 {"DeepPink1" , PALETTERGB (255, 20, 147) },
453 {"OliveDrab1" , PALETTERGB (192,255, 62)}, 453 {"DeepPink2" , PALETTERGB (238, 18, 137) },
454 {"honeydew3" , PALETTERGB (193,205,193)}, 454 {"DeepPink3" , PALETTERGB (205, 16, 118) },
455 {"azure3" , PALETTERGB (193,205,205)}, 455 {"DeepPink4" , PALETTERGB (139, 10, 80) },
456 {"DarkSeaGreen1" , PALETTERGB (193,255,193)}, 456 {"HotPink1" , PALETTERGB (255, 110, 180) },
457 {"Gray76" , PALETTERGB (194,194,194)}, 457 {"HotPink2" , PALETTERGB (238, 106, 167) },
458 {"Grey76" , PALETTERGB (194,194,194)}, 458 {"HotPink3" , PALETTERGB (205, 96, 144) },
459 {"Gray77" , PALETTERGB (196,196,196)}, 459 {"HotPink4" , PALETTERGB (139, 58, 98) },
460 {"Grey77" , PALETTERGB (196,196,196)}, 460 {"pink1" , PALETTERGB (255, 181, 197) },
461 {"Plum" , PALETTERGB (197, 72,155)}, 461 {"pink2" , PALETTERGB (238, 169, 184) },
462 {"SlateGray1" , PALETTERGB (198,226,255)}, 462 {"pink3" , PALETTERGB (205, 145, 158) },
463 {"MediumVioletRed" , PALETTERGB (199, 21,133)}, 463 {"pink4" , PALETTERGB (139, 99, 108) },
464 {"Gray78" , PALETTERGB (199,199,199)}, 464 {"LightPink1" , PALETTERGB (255, 174, 185) },
465 {"Grey78" , PALETTERGB (199,199,199)}, 465 {"LightPink2" , PALETTERGB (238, 162, 173) },
466 {"Gray79" , PALETTERGB (201,201,201)}, 466 {"LightPink3" , PALETTERGB (205, 140, 149) },
467 {"Grey79" , PALETTERGB (201,201,201)}, 467 {"LightPink4" , PALETTERGB (139, 95, 101) },
468 {"LightSteelBlue1" , PALETTERGB (202,225,255)}, 468 {"PaleVioletRed1" , PALETTERGB (255, 130, 171) },
469 {"DarkOliveGreen1" , PALETTERGB (202,255,112)}, 469 {"PaleVioletRed2" , PALETTERGB (238, 121, 159) },
470 {"Gray80" , PALETTERGB (204,204,204)}, 470 {"PaleVioletRed3" , PALETTERGB (205, 104, 137) },
471 {"Grey80" , PALETTERGB (204,204,204)}, 471 {"PaleVioletRed4" , PALETTERGB (139, 71, 93) },
472 {"red3" , PALETTERGB (205, 0, 0)}, 472 {"maroon1" , PALETTERGB (255, 52, 179) },
473 {"magenta3" , PALETTERGB (205, 0,205)}, 473 {"maroon2" , PALETTERGB (238, 48, 167) },
474 {"DeepPink3" , PALETTERGB (205, 16,118)}, 474 {"maroon3" , PALETTERGB (205, 41, 144) },
475 {"firebrick3" , PALETTERGB (205, 38, 38)}, 475 {"maroon4" , PALETTERGB (139, 28, 98) },
476 {"maroon3" , PALETTERGB (205, 41,144)}, 476 {"VioletRed1" , PALETTERGB (255, 62, 150) },
477 {"VioletRed3" , PALETTERGB (205, 50,120)}, 477 {"VioletRed2" , PALETTERGB (238, 58, 140) },
478 {"brown3" , PALETTERGB (205, 51, 51)}, 478 {"VioletRed3" , PALETTERGB (205, 50, 120) },
479 {"OrangeRed3" , PALETTERGB (205, 55, 0)}, 479 {"VioletRed4" , PALETTERGB (139, 34, 82) },
480 {"tomato3" , PALETTERGB (205, 79, 57)}, 480 {"magenta1" , PALETTERGB (255, 0, 255) },
481 {"IndianRed3" , PALETTERGB (205, 85, 85)}, 481 {"magenta2" , PALETTERGB (238, 0, 238) },
482 {"coral3" , PALETTERGB (205, 91, 69)}, 482 {"magenta3" , PALETTERGB (205, 0, 205) },
483 {"HotPink3" , PALETTERGB (205, 96,144)}, 483 {"magenta4" , PALETTERGB (139, 0, 139) },
484 {"DarkOrange3" , PALETTERGB (205,102, 0)}, 484 {"orchid1" , PALETTERGB (255, 131, 250) },
485 {"chocolate3" , PALETTERGB (205,102, 29)}, 485 {"orchid2" , PALETTERGB (238, 122, 233) },
486 {"sienna3" , PALETTERGB (205,104, 57)}, 486 {"orchid3" , PALETTERGB (205, 105, 201) },
487 {"PaleVioletRed3" , PALETTERGB (205,104,137)}, 487 {"orchid4" , PALETTERGB (139, 71, 137) },
488 {"orchid3" , PALETTERGB (205,105,201)}, 488 {"plum1" , PALETTERGB (255, 187, 255) },
489 {"salmon3" , PALETTERGB (205,112, 84)}, 489 {"plum2" , PALETTERGB (238, 174, 238) },
490 {"LightSalmon3" , PALETTERGB (205,129, 98)}, 490 {"plum3" , PALETTERGB (205, 150, 205) },
491 {"orange3" , PALETTERGB (205,133, 0)}, 491 {"plum4" , PALETTERGB (139, 102, 139) },
492 {"peru" , PALETTERGB (205,133, 63)}, 492 {"MediumOrchid1" , PALETTERGB (224, 102, 255) },
493 {"tan3" , PALETTERGB (205,133, 63)}, 493 {"MediumOrchid2" , PALETTERGB (209, 95, 238) },
494 {"LightPink3" , PALETTERGB (205,140,149)}, 494 {"MediumOrchid3" , PALETTERGB (180, 82, 205) },
495 {"pink3" , PALETTERGB (205,145,158)}, 495 {"MediumOrchid4" , PALETTERGB (122, 55, 139) },
496 {"DarkGoldenrod3" , PALETTERGB (205,149, 12)}, 496 {"DarkOrchid1" , PALETTERGB (191, 62, 255) },
497 {"plum3" , PALETTERGB (205,150,205)}, 497 {"DarkOrchid2" , PALETTERGB (178, 58, 238) },
498 {"goldenrod3" , PALETTERGB (205,155, 29)}, 498 {"DarkOrchid3" , PALETTERGB (154, 50, 205) },
499 {"RosyBrown3" , PALETTERGB (205,155,155)}, 499 {"DarkOrchid4" , PALETTERGB (104, 34, 139) },
500 {"burlywood3" , PALETTERGB (205,170,125)}, 500 {"purple1" , PALETTERGB (155, 48, 255) },
501 {"gold3" , PALETTERGB (205,173, 0)}, 501 {"purple2" , PALETTERGB (145, 44, 238) },
502 {"PeachPuff3" , PALETTERGB (205,175,149)}, 502 {"purple3" , PALETTERGB (125, 38, 205) },
503 {"NavajoWhite3" , PALETTERGB (205,179,139)}, 503 {"purple4" , PALETTERGB (85, 26, 139) },
504 {"thistle3" , PALETTERGB (205,181,205)}, 504 {"MediumPurple1" , PALETTERGB (171, 130, 255) },
505 {"bisque3" , PALETTERGB (205,183,158)}, 505 {"MediumPurple2" , PALETTERGB (159, 121, 238) },
506 {"MistyRose3" , PALETTERGB (205,183,181)}, 506 {"MediumPurple3" , PALETTERGB (137, 104, 205) },
507 {"wheat3" , PALETTERGB (205,186,150)}, 507 {"MediumPurple4" , PALETTERGB (93, 71, 139) },
508 {"LightGoldenrod3" , PALETTERGB (205,190,112)}, 508 {"thistle1" , PALETTERGB (255, 225, 255) },
509 {"AntiqueWhite3" , PALETTERGB (205,192,176)}, 509 {"thistle2" , PALETTERGB (238, 210, 238) },
510 {"LavenderBlush3" , PALETTERGB (205,193,197)}, 510 {"thistle3" , PALETTERGB (205, 181, 205) },
511 {"seashell3" , PALETTERGB (205,197,191)}, 511 {"thistle4" , PALETTERGB (139, 123, 139) },
512 {"khaki3" , PALETTERGB (205,198,115)}, 512 {"gray0" , PALETTERGB (0, 0, 0) },
513 {"cornsilk3" , PALETTERGB (205,200,177)}, 513 {"grey0" , PALETTERGB (0, 0, 0) },
514 {"LemonChiffon3" , PALETTERGB (205,201,165)}, 514 {"gray1" , PALETTERGB (3, 3, 3) },
515 {"snow3" , PALETTERGB (205,201,201)}, 515 {"grey1" , PALETTERGB (3, 3, 3) },
516 {"yellow3" , PALETTERGB (205,205, 0)}, 516 {"gray2" , PALETTERGB (5, 5, 5) },
517 {"LightYellow3" , PALETTERGB (205,205,180)}, 517 {"grey2" , PALETTERGB (5, 5, 5) },
518 {"ivory3" , PALETTERGB (205,205,193)}, 518 {"gray3" , PALETTERGB (8, 8, 8) },
519 {"Gray81" , PALETTERGB (207,207,207)}, 519 {"grey3" , PALETTERGB (8, 8, 8) },
520 {"Grey81" , PALETTERGB (207,207,207)}, 520 {"gray4" , PALETTERGB (10, 10, 10) },
521 {"VioletRed" , PALETTERGB (208, 32,144)}, 521 {"grey4" , PALETTERGB (10, 10, 10) },
522 {"MediumOrchid2" , PALETTERGB (209, 95,238)}, 522 {"gray5" , PALETTERGB (13, 13, 13) },
523 {"MediumGoldenrod" , PALETTERGB (209,193,102)}, 523 {"grey5" , PALETTERGB (13, 13, 13) },
524 {"Gray82" , PALETTERGB (209,209,209)}, 524 {"gray6" , PALETTERGB (15, 15, 15) },
525 {"Grey82" , PALETTERGB (209,209,209)}, 525 {"grey6" , PALETTERGB (15, 15, 15) },
526 {"LightCyan2" , PALETTERGB (209,238,238)}, 526 {"gray7" , PALETTERGB (18, 18, 18) },
527 {"chocolate" , PALETTERGB (210,105, 30)}, 527 {"grey7" , PALETTERGB (18, 18, 18) },
528 {"tan" , PALETTERGB (210,180,140)}, 528 {"gray8" , PALETTERGB (20, 20, 20) },
529 {"Gray83" , PALETTERGB (212,212,212)}, 529 {"grey8" , PALETTERGB (20, 20, 20) },
530 {"Grey83" , PALETTERGB (212,212,212)}, 530 {"gray9" , PALETTERGB (23, 23, 23) },
531 {"Gray84" , PALETTERGB (214,214,214)}, 531 {"grey9" , PALETTERGB (23, 23, 23) },
532 {"Grey84" , PALETTERGB (214,214,214)}, 532 {"gray10" , PALETTERGB (26, 26, 26) },
533 {"Thistle" , PALETTERGB (216,191,216)}, 533 {"grey10" , PALETTERGB (26, 26, 26) },
534 {"Gray85" , PALETTERGB (217,217,217)}, 534 {"gray11" , PALETTERGB (28, 28, 28) },
535 {"Grey85" , PALETTERGB (217,217,217)}, 535 {"grey11" , PALETTERGB (28, 28, 28) },
536 {"orchid" , PALETTERGB (218,112,214)}, 536 {"gray12" , PALETTERGB (31, 31, 31) },
537 {"goldenrod" , PALETTERGB (218,165, 32)}, 537 {"grey12" , PALETTERGB (31, 31, 31) },
538 {"Gold" , PALETTERGB (218,170, 0)}, 538 {"gray13" , PALETTERGB (33, 33, 33) },
539 {"PaleVioletRed" , PALETTERGB (219,112,147)}, 539 {"grey13" , PALETTERGB (33, 33, 33) },
540 {"Gray86" , PALETTERGB (219,219,219)}, 540 {"gray14" , PALETTERGB (36, 36, 36) },
541 {"Grey86" , PALETTERGB (219,219,219)}, 541 {"grey14" , PALETTERGB (36, 36, 36) },
542 {"Crimson" , PALETTERGB (220, 20, 60)}, 542 {"gray15" , PALETTERGB (38, 38, 38) },
543 {"gainsboro" , PALETTERGB (220,220,220)}, 543 {"grey15" , PALETTERGB (38, 38, 38) },
544 {"burlywood" , PALETTERGB (222,184,135)}, 544 {"gray16" , PALETTERGB (41, 41, 41) },
545 {"Gray87" , PALETTERGB (222,222,222)}, 545 {"grey16" , PALETTERGB (41, 41, 41) },
546 {"Grey87" , PALETTERGB (222,222,222)}, 546 {"gray17" , PALETTERGB (43, 43, 43) },
547 {"MediumOrchid1" , PALETTERGB (224,102,255)}, 547 {"grey17" , PALETTERGB (43, 43, 43) },
548 {"Gray88" , PALETTERGB (224,224,224)}, 548 {"gray18" , PALETTERGB (46, 46, 46) },
549 {"Grey88" , PALETTERGB (224,224,224)}, 549 {"grey18" , PALETTERGB (46, 46, 46) },
550 {"honeydew2" , PALETTERGB (224,238,224)}, 550 {"gray19" , PALETTERGB (48, 48, 48) },
551 {"azure2" , PALETTERGB (224,238,238)}, 551 {"grey19" , PALETTERGB (48, 48, 48) },
552 {"LightCyan" , PALETTERGB (224,255,255)}, 552 {"gray20" , PALETTERGB (51, 51, 51) },
553 {"LightCyan1" , PALETTERGB (224,255,255)}, 553 {"grey20" , PALETTERGB (51, 51, 51) },
554 {"Gray89" , PALETTERGB (227,227,227)}, 554 {"gray21" , PALETTERGB (54, 54, 54) },
555 {"Grey89" , PALETTERGB (227,227,227)}, 555 {"grey21" , PALETTERGB (54, 54, 54) },
556 {"Gray90" , PALETTERGB (229,229,229)}, 556 {"gray22" , PALETTERGB (56, 56, 56) },
557 {"Grey90" , PALETTERGB (229,229,229)}, 557 {"grey22" , PALETTERGB (56, 56, 56) },
558 {"lavender" , PALETTERGB (230,230,250)}, 558 {"gray23" , PALETTERGB (59, 59, 59) },
559 {"Gray91" , PALETTERGB (232,232,232)}, 559 {"grey23" , PALETTERGB (59, 59, 59) },
560 {"Grey91" , PALETTERGB (232,232,232)}, 560 {"gray24" , PALETTERGB (61, 61, 61) },
561 {"DarkSalmon" , PALETTERGB (233,150,122)}, 561 {"grey24" , PALETTERGB (61, 61, 61) },
562 {"Salmon" , PALETTERGB (233,150,122)}, 562 {"gray25" , PALETTERGB (64, 64, 64) },
563 {"Gray92" , PALETTERGB (235,235,235)}, 563 {"grey25" , PALETTERGB (64, 64, 64) },
564 {"Grey92" , PALETTERGB (235,235,235)}, 564 {"gray26" , PALETTERGB (66, 66, 66) },
565 {"Gray93" , PALETTERGB (237,237,237)}, 565 {"grey26" , PALETTERGB (66, 66, 66) },
566 {"Grey93" , PALETTERGB (237,237,237)}, 566 {"gray27" , PALETTERGB (69, 69, 69) },
567 {"red2" , PALETTERGB (238, 0, 0)}, 567 {"grey27" , PALETTERGB (69, 69, 69) },
568 {"magenta2" , PALETTERGB (238, 0,238)}, 568 {"gray28" , PALETTERGB (71, 71, 71) },
569 {"DeepPink2" , PALETTERGB (238, 18,137)}, 569 {"grey28" , PALETTERGB (71, 71, 71) },
570 {"firebrick2" , PALETTERGB (238, 44, 44)}, 570 {"gray29" , PALETTERGB (74, 74, 74) },
571 {"maroon2" , PALETTERGB (238, 48,167)}, 571 {"grey29" , PALETTERGB (74, 74, 74) },
572 {"VioletRed2" , PALETTERGB (238, 58,140)}, 572 {"gray30" , PALETTERGB (77, 77, 77) },
573 {"brown2" , PALETTERGB (238, 59, 59)}, 573 {"grey30" , PALETTERGB (77, 77, 77) },
574 {"OrangeRed2" , PALETTERGB (238, 64, 0)}, 574 {"gray31" , PALETTERGB (79, 79, 79) },
575 {"tomato2" , PALETTERGB (238, 92, 66)}, 575 {"grey31" , PALETTERGB (79, 79, 79) },
576 {"IndianRed2" , PALETTERGB (238, 99, 99)}, 576 {"gray32" , PALETTERGB (82, 82, 82) },
577 {"coral2" , PALETTERGB (238,106, 80)}, 577 {"grey32" , PALETTERGB (82, 82, 82) },
578 {"HotPink2" , PALETTERGB (238,106,167)}, 578 {"gray33" , PALETTERGB (84, 84, 84) },
579 {"DarkOrange2" , PALETTERGB (238,118, 0)}, 579 {"grey33" , PALETTERGB (84, 84, 84) },
580 {"chocolate2" , PALETTERGB (238,118, 33)}, 580 {"gray34" , PALETTERGB (87, 87, 87) },
581 {"sienna2" , PALETTERGB (238,121, 66)}, 581 {"grey34" , PALETTERGB (87, 87, 87) },
582 {"PaleVioletRed2" , PALETTERGB (238,121,159)}, 582 {"gray35" , PALETTERGB (89, 89, 89) },
583 {"orchid2" , PALETTERGB (238,122,233)}, 583 {"grey35" , PALETTERGB (89, 89, 89) },
584 {"salmon2" , PALETTERGB (238,130, 98)}, 584 {"gray36" , PALETTERGB (92, 92, 92) },
585 {"LightSalmon2" , PALETTERGB (238,149,114)}, 585 {"grey36" , PALETTERGB (92, 92, 92) },
586 {"orange2" , PALETTERGB (238,154, 0)}, 586 {"gray37" , PALETTERGB (94, 94, 94) },
587 {"tan2" , PALETTERGB (238,154, 73)}, 587 {"grey37" , PALETTERGB (94, 94, 94) },
588 {"LightPink2" , PALETTERGB (238,162,173)}, 588 {"gray38" , PALETTERGB (97, 97, 97) },
589 {"pink2" , PALETTERGB (238,169,184)}, 589 {"grey38" , PALETTERGB (97, 97, 97) },
590 {"DarkGoldenrod2" , PALETTERGB (238,173, 14)}, 590 {"gray39" , PALETTERGB (99, 99, 99) },
591 {"plum2" , PALETTERGB (238,174,238)}, 591 {"grey39" , PALETTERGB (99, 99, 99) },
592 {"goldenrod2" , PALETTERGB (238,180, 34)}, 592 {"gray40" , PALETTERGB (102, 102, 102) },
593 {"RosyBrown2" , PALETTERGB (238,180,180)}, 593 {"grey40" , PALETTERGB (102, 102, 102) },
594 {"burlywood2" , PALETTERGB (238,197,145)}, 594 {"gray41" , PALETTERGB (105, 105, 105) },
595 {"gold2" , PALETTERGB (238,201, 0)}, 595 {"grey41" , PALETTERGB (105, 105, 105) },
596 {"PeachPuff2" , PALETTERGB (238,203,173)}, 596 {"gray42" , PALETTERGB (107, 107, 107) },
597 {"NavajoWhite2" , PALETTERGB (238,207,161)}, 597 {"grey42" , PALETTERGB (107, 107, 107) },
598 {"thistle2" , PALETTERGB (238,210,238)}, 598 {"gray43" , PALETTERGB (110, 110, 110) },
599 {"bisque2" , PALETTERGB (238,213,183)}, 599 {"grey43" , PALETTERGB (110, 110, 110) },
600 {"MistyRose2" , PALETTERGB (238,213,210)}, 600 {"gray44" , PALETTERGB (112, 112, 112) },
601 {"wheat2" , PALETTERGB (238,216,174)}, 601 {"grey44" , PALETTERGB (112, 112, 112) },
602 {"LightGoldenrod2" , PALETTERGB (238,220,130)}, 602 {"gray45" , PALETTERGB (115, 115, 115) },
603 {"LightGoldenrod" , PALETTERGB (238,221,130)}, 603 {"grey45" , PALETTERGB (115, 115, 115) },
604 {"AntiqueWhite2" , PALETTERGB (238,223,204)}, 604 {"gray46" , PALETTERGB (117, 117, 117) },
605 {"LavenderBlush2" , PALETTERGB (238,224,229)}, 605 {"grey46" , PALETTERGB (117, 117, 117) },
606 {"seashell2" , PALETTERGB (238,229,222)}, 606 {"gray47" , PALETTERGB (120, 120, 120) },
607 {"khaki2" , PALETTERGB (238,230,133)}, 607 {"grey47" , PALETTERGB (120, 120, 120) },
608 {"PaleGoldenrod" , PALETTERGB (238,232,170)}, 608 {"gray48" , PALETTERGB (122, 122, 122) },
609 {"cornsilk2" , PALETTERGB (238,232,205)}, 609 {"grey48" , PALETTERGB (122, 122, 122) },
610 {"LemonChiffon2" , PALETTERGB (238,233,191)}, 610 {"gray49" , PALETTERGB (125, 125, 125) },
611 {"snow2" , PALETTERGB (238,233,233)}, 611 {"grey49" , PALETTERGB (125, 125, 125) },
612 {"yellow2" , PALETTERGB (238,238, 0)}, 612 {"gray50" , PALETTERGB (127, 127, 127) },
613 {"LightYellow2" , PALETTERGB (238,238,209)}, 613 {"grey50" , PALETTERGB (127, 127, 127) },
614 {"ivory2" , PALETTERGB (238,238,224)}, 614 {"gray51" , PALETTERGB (130, 130, 130) },
615 {"LightCoral" , PALETTERGB (240,128,128)}, 615 {"grey51" , PALETTERGB (130, 130, 130) },
616 {"Gray94" , PALETTERGB (240,240,240)}, 616 {"gray52" , PALETTERGB (133, 133, 133) },
617 {"Grey94" , PALETTERGB (240,240,240)}, 617 {"grey52" , PALETTERGB (133, 133, 133) },
618 {"AliceBlue" , PALETTERGB (240,248,255)}, 618 {"gray53" , PALETTERGB (135, 135, 135) },
619 {"honeydew" , PALETTERGB (240,255,240)}, 619 {"grey53" , PALETTERGB (135, 135, 135) },
620 {"honeydew1" , PALETTERGB (240,255,240)}, 620 {"gray54" , PALETTERGB (138, 138, 138) },
621 {"azure" , PALETTERGB (240,255,255)}, 621 {"grey54" , PALETTERGB (138, 138, 138) },
622 {"azure1" , PALETTERGB (240,255,255)}, 622 {"gray55" , PALETTERGB (140, 140, 140) },
623 {"Gray95" , PALETTERGB (242,242,242)}, 623 {"grey55" , PALETTERGB (140, 140, 140) },
624 {"Grey95" , PALETTERGB (242,242,242)}, 624 {"gray56" , PALETTERGB (143, 143, 143) },
625 {"SandyBrown" , PALETTERGB (244,164, 96)}, 625 {"grey56" , PALETTERGB (143, 143, 143) },
626 {"Wheat" , PALETTERGB (245,222,179)}, 626 {"gray57" , PALETTERGB (145, 145, 145) },
627 {"beige" , PALETTERGB (245,245,220)}, 627 {"grey57" , PALETTERGB (145, 145, 145) },
628 {"Gray96" , PALETTERGB (245,245,245)}, 628 {"gray58" , PALETTERGB (148, 148, 148) },
629 {"Grey96" , PALETTERGB (245,245,245)}, 629 {"grey58" , PALETTERGB (148, 148, 148) },
630 {"WhiteSmoke" , PALETTERGB (245,245,245)}, 630 {"gray59" , PALETTERGB (150, 150, 150) },
631 {"MintCream" , PALETTERGB (245,255,250)}, 631 {"grey59" , PALETTERGB (150, 150, 150) },
632 {"Gray97" , PALETTERGB (247,247,247)}, 632 {"gray60" , PALETTERGB (153, 153, 153) },
633 {"Grey97" , PALETTERGB (247,247,247)}, 633 {"grey60" , PALETTERGB (153, 153, 153) },
634 {"GhostWhite" , PALETTERGB (248,248,255)}, 634 {"gray61" , PALETTERGB (156, 156, 156) },
635 {"AntiqueWhite" , PALETTERGB (250,235,215)}, 635 {"grey61" , PALETTERGB (156, 156, 156) },
636 {"linen" , PALETTERGB (250,240,230)}, 636 {"gray62" , PALETTERGB (158, 158, 158) },
637 {"LightGoldenrodYellow" , PALETTERGB (250,250,210)}, 637 {"grey62" , PALETTERGB (158, 158, 158) },
638 {"Gray98" , PALETTERGB (250,250,250)}, 638 {"gray63" , PALETTERGB (161, 161, 161) },
639 {"Grey98" , PALETTERGB (250,250,250)}, 639 {"grey63" , PALETTERGB (161, 161, 161) },
640 {"Gray99" , PALETTERGB (252,252,252)}, 640 {"gray64" , PALETTERGB (163, 163, 163) },
641 {"Grey99" , PALETTERGB (252,252,252)}, 641 {"grey64" , PALETTERGB (163, 163, 163) },
642 {"OldLace" , PALETTERGB (253,245,230)}, 642 {"gray65" , PALETTERGB (166, 166, 166) },
643 {"Red" , PALETTERGB (255, 0, 0)}, 643 {"grey65" , PALETTERGB (166, 166, 166) },
644 {"red1" , PALETTERGB (255, 0, 0)}, 644 {"gray66" , PALETTERGB (168, 168, 168) },
645 {"Magenta" , PALETTERGB (255, 0,255)}, 645 {"grey66" , PALETTERGB (168, 168, 168) },
646 {"magenta1" , PALETTERGB (255, 0,255)}, 646 {"gray67" , PALETTERGB (171, 171, 171) },
647 {"DeepPink" , PALETTERGB (255, 20,147)}, 647 {"grey67" , PALETTERGB (171, 171, 171) },
648 {"DeepPink1" , PALETTERGB (255, 20,147)}, 648 {"gray68" , PALETTERGB (173, 173, 173) },
649 {"firebrick1" , PALETTERGB (255, 48, 48)}, 649 {"grey68" , PALETTERGB (173, 173, 173) },
650 {"maroon1" , PALETTERGB (255, 52,179)}, 650 {"gray69" , PALETTERGB (176, 176, 176) },
651 {"VioletRed1" , PALETTERGB (255, 62,150)}, 651 {"grey69" , PALETTERGB (176, 176, 176) },
652 {"brown1" , PALETTERGB (255, 64, 64)}, 652 {"gray70" , PALETTERGB (179, 179, 179) },
653 {"OrangeRed" , PALETTERGB (255, 69, 0)}, 653 {"grey70" , PALETTERGB (179, 179, 179) },
654 {"OrangeRed1" , PALETTERGB (255, 69, 0)}, 654 {"gray71" , PALETTERGB (181, 181, 181) },
655 {"tomato" , PALETTERGB (255, 99, 71)}, 655 {"grey71" , PALETTERGB (181, 181, 181) },
656 {"tomato1" , PALETTERGB (255, 99, 71)}, 656 {"gray72" , PALETTERGB (184, 184, 184) },
657 {"HotPink" , PALETTERGB (255,105,180)}, 657 {"grey72" , PALETTERGB (184, 184, 184) },
658 {"IndianRed1" , PALETTERGB (255,106,106)}, 658 {"gray73" , PALETTERGB (186, 186, 186) },
659 {"HotPink1" , PALETTERGB (255,110,180)}, 659 {"grey73" , PALETTERGB (186, 186, 186) },
660 {"Coral" , PALETTERGB (255,114, 86)}, 660 {"gray74" , PALETTERGB (189, 189, 189) },
661 {"coral1" , PALETTERGB (255,114, 86)}, 661 {"grey74" , PALETTERGB (189, 189, 189) },
662 {"DarkOrange1" , PALETTERGB (255,127, 0)}, 662 {"gray75" , PALETTERGB (191, 191, 191) },
663 {"chocolate1" , PALETTERGB (255,127, 36)}, 663 {"grey75" , PALETTERGB (191, 191, 191) },
664 {"sienna1" , PALETTERGB (255,130, 71)}, 664 {"gray76" , PALETTERGB (194, 194, 194) },
665 {"PaleVioletRed1" , PALETTERGB (255,130,171)}, 665 {"grey76" , PALETTERGB (194, 194, 194) },
666 {"orchid1" , PALETTERGB (255,131,250)}, 666 {"gray77" , PALETTERGB (196, 196, 196) },
667 {"Orange" , PALETTERGB (255,135, 0)}, 667 {"grey77" , PALETTERGB (196, 196, 196) },
668 {"DarkOrange" , PALETTERGB (255,140, 0)}, 668 {"gray78" , PALETTERGB (199, 199, 199) },
669 {"salmon1" , PALETTERGB (255,140,105)}, 669 {"grey78" , PALETTERGB (199, 199, 199) },
670 {"LightSalmon" , PALETTERGB (255,160,122)}, 670 {"gray79" , PALETTERGB (201, 201, 201) },
671 {"LightSalmon1" , PALETTERGB (255,160,122)}, 671 {"grey79" , PALETTERGB (201, 201, 201) },
672 {"orange1" , PALETTERGB (255,165, 0)}, 672 {"gray80" , PALETTERGB (204, 204, 204) },
673 {"tan1" , PALETTERGB (255,165, 79)}, 673 {"grey80" , PALETTERGB (204, 204, 204) },
674 {"LightPink1" , PALETTERGB (255,174,185)}, 674 {"gray81" , PALETTERGB (207, 207, 207) },
675 {"Pink" , PALETTERGB (255,181,197)}, 675 {"grey81" , PALETTERGB (207, 207, 207) },
676 {"pink1" , PALETTERGB (255,181,197)}, 676 {"gray82" , PALETTERGB (209, 209, 209) },
677 {"LightPink" , PALETTERGB (255,182,193)}, 677 {"grey82" , PALETTERGB (209, 209, 209) },
678 {"DarkGoldenrod1" , PALETTERGB (255,185, 15)}, 678 {"gray83" , PALETTERGB (212, 212, 212) },
679 {"plum1" , PALETTERGB (255,187,255)}, 679 {"grey83" , PALETTERGB (212, 212, 212) },
680 {"goldenrod1" , PALETTERGB (255,193, 37)}, 680 {"gray84" , PALETTERGB (214, 214, 214) },
681 {"RosyBrown1" , PALETTERGB (255,193,193)}, 681 {"grey84" , PALETTERGB (214, 214, 214) },
682 {"burlywood1" , PALETTERGB (255,211,155)}, 682 {"gray85" , PALETTERGB (217, 217, 217) },
683 {"gold1" , PALETTERGB (255,215, 0)}, 683 {"grey85" , PALETTERGB (217, 217, 217) },
684 {"PeachPuff" , PALETTERGB (255,218,185)}, 684 {"gray86" , PALETTERGB (219, 219, 219) },
685 {"PeachPuff1" , PALETTERGB (255,218,185)}, 685 {"grey86" , PALETTERGB (219, 219, 219) },
686 {"NavajoWhite" , PALETTERGB (255,222,173)}, 686 {"gray87" , PALETTERGB (222, 222, 222) },
687 {"NavajoWhite1" , PALETTERGB (255,222,173)}, 687 {"grey87" , PALETTERGB (222, 222, 222) },
688 {"thistle1" , PALETTERGB (255,225,255)}, 688 {"gray88" , PALETTERGB (224, 224, 224) },
689 {"moccasin" , PALETTERGB (255,228,181)}, 689 {"grey88" , PALETTERGB (224, 224, 224) },
690 {"bisque" , PALETTERGB (255,228,196)}, 690 {"gray89" , PALETTERGB (227, 227, 227) },
691 {"bisque1" , PALETTERGB (255,228,196)}, 691 {"grey89" , PALETTERGB (227, 227, 227) },
692 {"MistyRose" , PALETTERGB (255,228,225)}, 692 {"gray90" , PALETTERGB (229, 229, 229) },
693 {"MistyRose1" , PALETTERGB (255,228,225)}, 693 {"grey90" , PALETTERGB (229, 229, 229) },
694 {"wheat1" , PALETTERGB (255,231,186)}, 694 {"gray91" , PALETTERGB (232, 232, 232) },
695 {"BlanchedAlmond" , PALETTERGB (255,235,205)}, 695 {"grey91" , PALETTERGB (232, 232, 232) },
696 {"LightGoldenrod1" , PALETTERGB (255,236,139)}, 696 {"gray92" , PALETTERGB (235, 235, 235) },
697 {"PapayaWhip" , PALETTERGB (255,239,213)}, 697 {"grey92" , PALETTERGB (235, 235, 235) },
698 {"AntiqueWhite1" , PALETTERGB (255,239,219)}, 698 {"gray93" , PALETTERGB (237, 237, 237) },
699 {"LavenderBlush" , PALETTERGB (255,240,245)}, 699 {"grey93" , PALETTERGB (237, 237, 237) },
700 {"LavenderBlush1" , PALETTERGB (255,240,245)}, 700 {"gray94" , PALETTERGB (240, 240, 240) },
701 {"seashell" , PALETTERGB (255,245,238)}, 701 {"grey94" , PALETTERGB (240, 240, 240) },
702 {"seashell1" , PALETTERGB (255,245,238)}, 702 {"gray95" , PALETTERGB (242, 242, 242) },
703 {"khaki1" , PALETTERGB (255,246,143)}, 703 {"grey95" , PALETTERGB (242, 242, 242) },
704 {"cornsilk" , PALETTERGB (255,248,220)}, 704 {"gray96" , PALETTERGB (245, 245, 245) },
705 {"cornsilk1" , PALETTERGB (255,248,220)}, 705 {"grey96" , PALETTERGB (245, 245, 245) },
706 {"LemonChiffon" , PALETTERGB (255,250,205)}, 706 {"gray97" , PALETTERGB (247, 247, 247) },
707 {"LemonChiffon1" , PALETTERGB (255,250,205)}, 707 {"grey97" , PALETTERGB (247, 247, 247) },
708 {"FloralWhite" , PALETTERGB (255,250,240)}, 708 {"gray98" , PALETTERGB (250, 250, 250) },
709 {"snow" , PALETTERGB (255,250,250)}, 709 {"grey98" , PALETTERGB (250, 250, 250) },
710 {"snow1" , PALETTERGB (255,250,250)}, 710 {"gray99" , PALETTERGB (252, 252, 252) },
711 {"Yellow" , PALETTERGB (255,255, 0)}, 711 {"grey99" , PALETTERGB (252, 252, 252) },
712 {"yellow1" , PALETTERGB (255,255, 0)}, 712 {"gray100" , PALETTERGB (255, 255, 255) },
713 {"LightYellow" , PALETTERGB (255,255,224)}, 713 {"grey100" , PALETTERGB (255, 255, 255) },
714 {"LightYellow1" , PALETTERGB (255,255,224)}, 714 {"DarkGrey" , PALETTERGB (169, 169, 169) },
715 {"ivory" , PALETTERGB (255,255,240)}, 715 {"DarkGray" , PALETTERGB (169, 169, 169) },
716 {"ivory1" , PALETTERGB (255,255,240)}, 716 {"DarkBlue" , PALETTERGB (0, 0, 139) },
717 {"Gray100" , PALETTERGB (255,255,255)}, 717 {"DarkCyan" , PALETTERGB (0, 139, 139) },
718 {"Grey100" , PALETTERGB (255,255,255)}, 718 {"DarkMagenta" , PALETTERGB (139, 0, 139) },
719 {"White" , PALETTERGB (255,255,255)} 719 {"DarkRed" , PALETTERGB (139, 0, 0) },
720 {"LightGreen" , PALETTERGB (144, 238, 144) }
720 }; 721 };
721 722
722 static int 723 static int
723 hexval (char c) 724 hexval (char c)
724 { 725 {
725 if (c >= 'a' && c <= 'f') 726 /* assumes ASCII and isxdigit(c) */
727 if (c >= 'a')
726 return c-'a' + 10; 728 return c-'a' + 10;
727 else if (c >= 'A' && c <= 'Z') 729 else if (c >= 'A')
728 return c-'A' + 10; 730 return c-'A' + 10;
729 else 731 else
730 return c-'0'; 732 return c-'0';
731 } 733 }
732 734
733
734 static COLORREF 735 static COLORREF
735 mswindows_string_to_color(CONST char *name) 736 mswindows_string_to_color(CONST char *name)
736 { 737 {
737 int i; 738 int i;
738 unsigned int r, g, b; 739
740 if (*name == '#')
741 {
742 /* numeric names look like "#RRGGBB", "#RRRGGGBBB" or "#RRRRGGGGBBBB" */
743 unsigned int r, g, b;
739 744
740 if (*name == '#') 745 for (i=1; i<strlen(name); i++)
741 { 746 {
742 /* numeric names look like "#RRGGBB" */ 747 if (!isxdigit (name[i]))
743 /* XXX accept other formats? */ 748 return(-1);
744 if (strlen(name)!=7) 749 }
745 return (-1); 750 if (strlen(name)==7)
746 for (i=1; i<7; i++) 751 {
747 { 752 r = hexval (name[1]) * 16 + hexval (name[2]);
748 if (!isxdigit(name[i])) 753 g = hexval (name[3]) * 16 + hexval (name[4]);
749 return(-1); 754 b = hexval (name[5]) * 16 + hexval (name[6]);
750 } 755 return (PALETTERGB (r, g, b));
751 r = hexval(name[1]) * 16 + hexval(name[2]); 756 }
752 g = hexval(name[3]) * 16 + hexval(name[4]); 757 else if (strlen(name)==10)
753 b = hexval(name[5]) * 16 + hexval(name[6]); 758 {
754 return (PALETTERGB (r, g, b)); 759 r = hexval (name[1]) * 16 + hexval (name[2]);
755 } 760 g = hexval (name[4]) * 16 + hexval (name[5]);
756 else 761 b = hexval (name[7]) * 16 + hexval (name[8]);
757 { 762 return (PALETTERGB (r, g, b));
758 for(i=0; i<(sizeof(mswindows_X_color_map)/sizeof(colormap_t)); i++) 763 }
759 if (!stricmp(name, mswindows_X_color_map[i].name)) 764 else if (strlen(name)==13)
760 return (mswindows_X_color_map[i].colorref); 765 {
761 } 766 r = hexval (name[1]) * 16 + hexval (name[2]);
767 g = hexval (name[5]) * 16 + hexval (name[6]);
768 b = hexval (name[9]) * 16 + hexval (name[10]);
769 return (PALETTERGB (r, g, b));
770 }
771 }
772 else if (*name) /* Can't be an empty string */
773 {
774 char *nospaces = alloca (strlen (name)+1);
775 char *c=nospaces;
776 while (*name)
777 if (*name != ' ')
778 *(c++) = *(name++);
779 else
780 name++;
781 *c = '\0';
782
783 for(i=0; i<(sizeof (mswindows_X_color_map) / sizeof (colormap_t)); i++)
784 if (!stricmp (nospaces, mswindows_X_color_map[i].name))
785 return (mswindows_X_color_map[i].colorref);
786 }
762 return(-1); 787 return(-1);
763 } 788 }
764 789
765 static int 790 static int
766 mswindows_initialize_color_instance (struct Lisp_Color_Instance *c, Lisp_Object name, 791 mswindows_initialize_color_instance (struct Lisp_Color_Instance *c, Lisp_Object name,
796 int escapeflag) 821 int escapeflag)
797 { 822 {
798 char buf[32]; 823 char buf[32];
799 COLORREF color = COLOR_INSTANCE_MSWINDOWS_COLOR (c); 824 COLORREF color = COLOR_INSTANCE_MSWINDOWS_COLOR (c);
800 sprintf (buf, " %06ld=(%04X,%04X,%04X)", color & 0xffffff, 825 sprintf (buf, " %06ld=(%04X,%04X,%04X)", color & 0xffffff,
801 GetRValue(color)<<8, GetGValue(color)<<8, GetBValue(color)<<8); 826 GetRValue(color)*257, GetGValue(color)*257, GetBValue(color)*257);
802 write_c_string (buf, printcharfun); 827 write_c_string (buf, printcharfun);
803 } 828 }
804 829
805 static void 830 static void
806 mswindows_finalize_color_instance (struct Lisp_Color_Instance *c) 831 mswindows_finalize_color_instance (struct Lisp_Color_Instance *c)
829 854
830 static Lisp_Object 855 static Lisp_Object
831 mswindows_color_instance_rgb_components (struct Lisp_Color_Instance *c) 856 mswindows_color_instance_rgb_components (struct Lisp_Color_Instance *c)
832 { 857 {
833 COLORREF color = COLOR_INSTANCE_MSWINDOWS_COLOR (c); 858 COLORREF color = COLOR_INSTANCE_MSWINDOWS_COLOR (c);
834 /* This used to say GetXValue(color)<<8, but that made, e.g. white
835 show as (#xff00 #xff00 #xff00) instead of (#xffff #xffff #xffff).
836 This slightly kludgier variant gives the expected results for
837 black and white, while hopefully not introducing too much error. */
838 return list3 (make_int (GetRValue (color) * 257), 859 return list3 (make_int (GetRValue (color) * 257),
839 make_int (GetGValue (color) * 257), 860 make_int (GetGValue (color) * 257),
840 make_int (GetBValue (color) * 257)); 861 make_int (GetBValue (color) * 257));
841 } 862 }
842 863
1080 { 1101 {
1081 /* XXX Implement me */ 1102 /* XXX Implement me */
1082 return list1 (build_string ("Courier New:Regular:10")); 1103 return list1 (build_string ("Courier New:Regular:10"));
1083 } 1104 }
1084 1105
1106 #ifdef MULE
1107
1108 static int
1109 mswindows_font_spec_matches_charset (struct device *d, Lisp_Object charset,
1110 CONST Bufbyte *nonreloc, Lisp_Object reloc,
1111 Bytecount offset, Bytecount length)
1112 {
1113 /* XXX Implement me */
1114 if (UNBOUNDP (charset))
1115 return 1;
1116
1117 return 1;
1118 }
1119
1120 /* find a font spec that matches font spec FONT and also matches
1121 (the registry of) CHARSET. */
1122 static Lisp_Object
1123 mswindows_find_charset_font (Lisp_Object device, Lisp_Object font,
1124 Lisp_Object charset)
1125 {
1126 /* XXX Implement me */
1127 return build_string ("Courier New:Regular:10");
1128 }
1129
1130 #endif /* MULE */
1085 1131
1086 1132
1087 /************************************************************************/ 1133 /************************************************************************/
1088 /* initialization */ 1134 /* initialization */
1089 /************************************************************************/ 1135 /************************************************************************/