選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

ColorType.java 85KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663
  1. /*
  2. * $Id: ColorType.java,v 1.15.2.10 2003/06/12 18:19:34 pbwest Exp $
  3. *
  4. *
  5. * Copyright 1999-2003 The Apache Software Foundation.
  6. *
  7. * Licensed under the Apache License, Version 2.0 (the "License");
  8. * you may not use this file except in compliance with the License.
  9. * You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. *
  19. *
  20. */
  21. package org.apache.fop.datatypes;
  22. import java.util.HashMap;
  23. import org.apache.fop.fo.PropNames;
  24. import org.apache.fop.fo.expr.PropertyException;
  25. /**
  26. * A base datatype class; colour in XSL
  27. */
  28. public class ColorType extends AbstractPropertyValue {
  29. private static final String tag = "$Name: $";
  30. private static final String revision = "$Revision: 1.15.2.10 $";
  31. public static final int
  32. RED = 0
  33. ,GREEN = 1
  34. ,BLUE = 2
  35. ,ALPHA = 3
  36. ;
  37. /**
  38. * A four-element array of float indexed by the <tt>static final int</tt>
  39. * constants RED, GREEN, BLUE and ALPHA. It contains the normalized
  40. * RGB-ALPHA values of the current colour; i.e. all of the values are
  41. * between 0 and 1 inclusive.
  42. */
  43. protected float color[] = {0f, 0f, 0f, 0f};
  44. /**
  45. * @param property an <tt>int</tt> containing the property index.
  46. * @param red a <tt>float</tt> containing the normalized
  47. * (0 <= red <= 1) red component.
  48. * @param green a <tt>float</tt> containing the normalized
  49. * (0 <= green <= 1) green component.
  50. * @param blue a <tt>float</tt> containing the normalized
  51. * (0 <= blue <= 1) blue component.
  52. */
  53. public ColorType(int property, float red, float green, float blue)
  54. throws PropertyException
  55. {
  56. super(property, PropertyValue.COLOR_TYPE);
  57. color[RED] = red;
  58. color[GREEN] = green;
  59. color[BLUE] = blue;
  60. }
  61. /**
  62. * @param propertyName a <tt>String</tt> containing the property name.
  63. * @param red a <tt>float</tt> containing the normalized
  64. * (0 <= red <= 1) red component.
  65. * @param green a <tt>float</tt> containing the normalized
  66. * (0 <= green <= 1) green component.
  67. * @param blue a <tt>float</tt> containing the normalized
  68. * (0 <= blue <= 1) blue component.
  69. */
  70. public ColorType(String propertyName, float red, float green, float blue)
  71. throws PropertyException
  72. {
  73. this(PropNames.getPropertyIndex(propertyName),
  74. red, green, blue);
  75. }
  76. /**
  77. * @param property an <tt>int</tt> containing the property index.
  78. * @param red an <tt>int</tt> containing the un-normalized
  79. * red component.
  80. * @param green an <tt>int</tt> containing the un-normalized
  81. * green component.
  82. * @param blue an <tt>int</tt> containing the un-normalized
  83. * blue component.
  84. */
  85. public ColorType(int property, int red, int green, int blue)
  86. throws PropertyException
  87. {
  88. super(property, PropertyValue.COLOR_TYPE);
  89. if (red > 255) red = 255;
  90. if (green > 255) green = 255;
  91. if (blue > 255) blue = 255;
  92. if (red < 0) red = 0;
  93. if (green < 0) green = 0;
  94. if (blue < 0) blue = 0;
  95. color[RED] = red/255f;
  96. color[GREEN] = green/255f;
  97. color[BLUE] = blue/255f;
  98. }
  99. /**
  100. * @param propertyName a <tt>String</tt> containing the property name.
  101. * @param red an <tt>int</tt> containing the un-normalized
  102. * red component.
  103. * @param green an <tt>int</tt> containing the un-normalized
  104. * green component.
  105. * @param blue an <tt>int</tt> containing the un-normalized
  106. * blue component.
  107. */
  108. public ColorType(String propertyName, int red, int green, int blue)
  109. throws PropertyException
  110. {
  111. this(PropNames.getPropertyIndex(propertyName),
  112. red, green, blue);
  113. }
  114. /**
  115. * @param property an <tt>int</tt> containing the property index.
  116. * @param color a <tt>float[]</tt> of four components containing
  117. * the normalized (0 <= n <= 1) red, green, blue and alpha components.
  118. */
  119. public ColorType(int property, float[] color) throws PropertyException {
  120. super(property, PropertyValue.COLOR_TYPE);
  121. if (color.length != 4) throw new PropertyException
  122. ("Attempt to construct a ColorType with array of "
  123. + color.length + " elements.");
  124. this.color = (float[])(color.clone());
  125. }
  126. /**
  127. * @param propertyName a <tt>String</tt> containing the property name.
  128. * @param color a <tt>float[]</tt> of four components containing
  129. * the normalized (0 <= n <= 1) red, green, blue and alpha components.
  130. */
  131. public ColorType(String propertyName, float[] color)
  132. throws PropertyException
  133. {
  134. this(PropNames.getPropertyIndex(propertyName), color);
  135. }
  136. /**
  137. * Construct a colour given a particular String specifying either a
  138. * #RGB or #RRGGBB three-component hexadecimal colour specifier or
  139. * a system color name. N.B. To disambiguate color named generated
  140. * by the system-color() core function and the standard enumerated
  141. * colors, the <tt>String</tt> argument form is reserved for
  142. * system-color() and the <tt>int</tt> for is reserved for the enumeration
  143. * index.
  144. * @param property an <tt>int</tt>; the property index.
  145. * @param value a <tt>String</tt>; the system color name.
  146. */
  147. public ColorType(int property, String value) throws PropertyException {
  148. super(property, PropertyValue.COLOR_TYPE);
  149. if (value.startsWith("#")) {
  150. try {
  151. if (value.length() == 4) {
  152. // Range is 0 - F. Convert to a float in the range
  153. // 0 - 1 by dividing by 15
  154. color[RED] = Integer.parseInt(value.substring(1, 2), 16)
  155. / 15f;
  156. color[GREEN] = Integer.parseInt(value.substring(2, 3), 16)
  157. / 15f;
  158. color[BLUE] = Integer.parseInt(value.substring(3), 16)
  159. / 15f;
  160. } else if (value.length() == 7) {
  161. // Range is 0 - FF. Convert to a float in the range
  162. // 0 - 1 by dividing by 255
  163. color[RED] = Integer.parseInt(value.substring(1, 3), 16)
  164. / 255f;
  165. color[GREEN] = Integer.parseInt(value.substring(3, 5), 16)
  166. / 255f;
  167. color[BLUE] = Integer.parseInt(value.substring(5), 16)
  168. / 255f;
  169. } else {
  170. throw new PropertyException
  171. ("Unknown colour format. Must be #RGB or #RRGGBB");
  172. }
  173. } catch (Exception e) {
  174. throw new PropertyException
  175. ("Unknown colour format. Must be #RGB or #RRGGBB");
  176. }
  177. } else {
  178. String colorName = value.toLowerCase();
  179. if (colorName.equals("transparent")) {
  180. color[ALPHA] = 1;
  181. } else {
  182. color = (float[])(getSystemColor(colorName).clone());
  183. }
  184. }
  185. }
  186. /**
  187. * Construct a colour given a particular String specifying either a
  188. * #RGB or #RRGGBB three-component hexadecimal colour specifier or
  189. * a system color name. N.B. To disambiguate color named generated
  190. * by the system-color() core function and the standard enumerated
  191. * colors, the <tt>String</tt> argument form is reserved for
  192. * system-color() and the <tt>int</tt> for is reserved for the enumeration
  193. * index.
  194. * @param propertyName a <tt>String</tt>; the property name.
  195. * @param value a <tt>String</tt>; the system color name.
  196. */
  197. public ColorType(String propertyName, String value)
  198. throws PropertyException
  199. {
  200. this(PropNames.getPropertyIndex(propertyName), value);
  201. }
  202. /**
  203. * Construct a colour given the index of a standard XSL/HTML enumerated
  204. * colour.
  205. * @param property an <tt>int</tt>; the property index.
  206. * @param colorEnum an <tt>int</tt>; the enumeration index.
  207. */
  208. public ColorType(int property, int colorEnum) throws PropertyException {
  209. super(property, PropertyValue.COLOR_TYPE);
  210. String enumText = propertyConsts.getEnumText(property, colorEnum);
  211. color = (float[])(getStandardColor(enumText).clone());
  212. }
  213. /**
  214. * Construct a colour given the index of a standard XSL/HTML enumerated
  215. * colour.
  216. * @param propertyName a <tt>String</tt>; the property name.
  217. * @param colorEnum an <tt>int</tt>; the enumeration index.
  218. */
  219. public ColorType(String propertyName, int colorEnum)
  220. throws PropertyException
  221. {
  222. this(PropNames.getPropertyIndex(propertyName), colorEnum);
  223. }
  224. /**
  225. * @return a <tt>float[4]</tt> containing the red, green, blue and alpha
  226. * components of this color.
  227. */
  228. public float[] color() {
  229. return color;
  230. }
  231. public float blue() {
  232. return color[BLUE];
  233. }
  234. public float green() {
  235. return color[GREEN];
  236. }
  237. public float red() {
  238. return color[RED];
  239. }
  240. public float alpha() {
  241. return color[ALPHA];
  242. }
  243. /**
  244. * Retrieve the components of a standard XSL/HTML color from the
  245. * <i>standardColors</i> <tt>HashMap</tt>.
  246. * @param name a <tt>String</tt>; the name of the standard color.
  247. * @return a <tt>float[4]</tt> containing the RGB information for
  248. * that color.
  249. */
  250. public static float[] getStandardColor(String name) {
  251. return (float[])standardColors.get(name);
  252. }
  253. /**
  254. * Retrieve the components of a standard XSL/HTML color from the
  255. * <i>systemColors</i> and <i>systemColors</i>
  256. * <tt>HashMap</tt>s.
  257. * @param name a <tt>String</tt>; the name of the standard color.
  258. * @return a <tt>float[4]</tt> containing the RGB information for
  259. * that color.
  260. */
  261. public static float[] getSystemColor(String name)
  262. throws PropertyException
  263. {
  264. float syscolor[];
  265. if ((syscolor = (float[])systemColors.get(name)) != null)
  266. return syscolor;
  267. else throw new PropertyException("Unknown system color: " + name);
  268. }
  269. /**
  270. * A <tt>HashMap</tt> containing four-element arrays of <tt>float</tt>
  271. * with the normalized RGB values of standard colours, indexed by the
  272. * name of the color. Individual values are <tt>float[4]</tt> arrays
  273. * representing the normalized color.
  274. */
  275. private static final HashMap standardColors;
  276. static {
  277. standardColors = new HashMap(16);
  278. standardColors.put
  279. ("black", new float[] {0f, 0f, 0f, 0f});
  280. standardColors.put
  281. ("silver", new float[] {0xC0/255f, 0xC0/255f, 0xC0/255f, 0f});
  282. standardColors.put
  283. ("gray", new float[] {0x80/255f, 0x80/255f, 0x80/255f, 0f});
  284. standardColors.put
  285. ("white", new float[] {1f, 1f, 1f, 0f});
  286. standardColors.put
  287. ("maroon", new float[] {0x80/255f, 0f, 0f, 0f});
  288. standardColors.put
  289. ("red", new float[] {1f, 0f, 0f, 0f});
  290. standardColors.put
  291. ("purple", new float[] {0x80/255f, 0f, 0x80/255f, 0f});
  292. standardColors.put
  293. ("fuchsia", new float[] {1f, 0f, 1f, 0f});
  294. standardColors.put
  295. ("green", new float[] {0f, 0x80/255f, 0f, 0f});
  296. standardColors.put
  297. ("lime", new float[] {0f, 1f, 0f, 0f});
  298. standardColors.put
  299. ("olive", new float[] {0x80/255f, 0x80/255f, 0f, 0f});
  300. standardColors.put
  301. ("yellow", new float[] {1f, 1f, 0f, 0f});
  302. standardColors.put
  303. ("navy", new float[] {0f, 0f, 0x80/255f, 0f});
  304. standardColors.put
  305. ("blue", new float[] {0f, 0f, 1f, 0f});
  306. standardColors.put
  307. ("teal", new float[] {0f, 0x80/255f, 0x80/255f, 0f});
  308. standardColors.put
  309. ("aqua", new float[] {0f, 1f, 1f, 0f});
  310. }
  311. /**
  312. * A <tt>HashMap</tt> containing four-element arrays of <tt>float</tt>
  313. * with the normalized RGB values of system colours, indexed by the
  314. * system name of the color. This array is referred to when system color
  315. * references are encountered. If the color is in the HashMap,
  316. * a reference to the array is returned. Individual values are
  317. * <tt>float[4]</tt> arrays representing the normalized color.
  318. */
  319. private static final HashMap systemColors;
  320. static {
  321. systemColors = new HashMap();
  322. systemColors.put("aliceblue",
  323. new float[] {240/255f, 248/255f, 255/255f, 0f});
  324. systemColors.put("antiquewhite1",
  325. new float[] {255/255f, 239/255f, 219/255f, 0f});
  326. systemColors.put("antiquewhite2",
  327. new float[] {238/255f, 223/255f, 204/255f, 0f});
  328. systemColors.put("antiquewhite3",
  329. new float[] {205/255f, 192/255f, 176/255f, 0f});
  330. systemColors.put("antiquewhite4",
  331. new float[] {139/255f, 131/255f, 120/255f, 0f});
  332. systemColors.put("antiquewhite",
  333. new float[] {250/255f, 235/255f, 215/255f, 0f});
  334. systemColors.put("aquamarine1",
  335. new float[] {127/255f, 255/255f, 212/255f, 0f});
  336. systemColors.put("aquamarine2",
  337. new float[] {118/255f, 238/255f, 198/255f, 0f});
  338. systemColors.put("aquamarine3",
  339. new float[] {102/255f, 205/255f, 170/255f, 0f});
  340. systemColors.put("aquamarine4",
  341. new float[] {69/255f, 139/255f, 116/255f, 0f});
  342. systemColors.put("aquamarine",
  343. new float[] {127/255f, 255/255f, 212/255f, 0f});
  344. systemColors.put("azure1",
  345. new float[] {240/255f, 255/255f, 255/255f, 0f});
  346. systemColors.put("azure2",
  347. new float[] {224/255f, 238/255f, 238/255f, 0f});
  348. systemColors.put("azure3",
  349. new float[] {193/255f, 205/255f, 205/255f, 0f});
  350. systemColors.put("azure4",
  351. new float[] {131/255f, 139/255f, 139/255f, 0f});
  352. systemColors.put("azure",
  353. new float[] {240/255f, 255/255f, 255/255f, 0f});
  354. systemColors.put("beige",
  355. new float[] {245/255f, 245/255f, 220/255f, 0f});
  356. systemColors.put("bisque1",
  357. new float[] {255/255f, 228/255f, 196/255f, 0f});
  358. systemColors.put("bisque2",
  359. new float[] {238/255f, 213/255f, 183/255f, 0f});
  360. systemColors.put("bisque3",
  361. new float[] {205/255f, 183/255f, 158/255f, 0f});
  362. systemColors.put("bisque4",
  363. new float[] {139/255f, 125/255f, 107/255f, 0f});
  364. systemColors.put("bisque",
  365. new float[] {255/255f, 228/255f, 196/255f, 0f});
  366. systemColors.put("black",
  367. new float[] {0/255f, 0/255f, 0/255f, 0f});
  368. systemColors.put("blanchedalmond",
  369. new float[] {255/255f, 235/255f, 205/255f, 0f});
  370. systemColors.put("blue1",
  371. new float[] {0/255f, 0/255f, 255/255f, 0f});
  372. systemColors.put("blue2",
  373. new float[] {0/255f, 0/255f, 238/255f, 0f});
  374. systemColors.put("blue3",
  375. new float[] {0/255f, 0/255f, 205/255f, 0f});
  376. systemColors.put("blue4",
  377. new float[] {0/255f, 0/255f, 139/255f, 0f});
  378. systemColors.put("blue",
  379. new float[] {0/255f, 0/255f, 255/255f, 0f});
  380. systemColors.put("blueviolet",
  381. new float[] {138/255f, 43/255f, 226/255f, 0f});
  382. systemColors.put("brown1",
  383. new float[] {255/255f, 64/255f, 64/255f, 0f});
  384. systemColors.put("brown2",
  385. new float[] {238/255f, 59/255f, 59/255f, 0f});
  386. systemColors.put("brown3",
  387. new float[] {205/255f, 51/255f, 51/255f, 0f});
  388. systemColors.put("brown4",
  389. new float[] {139/255f, 35/255f, 35/255f, 0f});
  390. systemColors.put("brown",
  391. new float[] {165/255f, 42/255f, 42/255f, 0f});
  392. systemColors.put("burlywood1",
  393. new float[] {255/255f, 211/255f, 155/255f, 0f});
  394. systemColors.put("burlywood2",
  395. new float[] {238/255f, 197/255f, 145/255f, 0f});
  396. systemColors.put("burlywood3",
  397. new float[] {205/255f, 170/255f, 125/255f, 0f});
  398. systemColors.put("burlywood4",
  399. new float[] {139/255f, 115/255f, 85/255f, 0f});
  400. systemColors.put("burlywood",
  401. new float[] {222/255f, 184/255f, 135/255f, 0f});
  402. systemColors.put("cadetblue1",
  403. new float[] {152/255f, 245/255f, 255/255f, 0f});
  404. systemColors.put("cadetblue2",
  405. new float[] {142/255f, 229/255f, 238/255f, 0f});
  406. systemColors.put("cadetblue3",
  407. new float[] {122/255f, 197/255f, 205/255f, 0f});
  408. systemColors.put("cadetblue4",
  409. new float[] {83/255f, 134/255f, 139/255f, 0f});
  410. systemColors.put("cadetblue",
  411. new float[] {95/255f, 158/255f, 160/255f, 0f});
  412. systemColors.put("chartreuse1",
  413. new float[] {127/255f, 255/255f, 0/255f, 0f});
  414. systemColors.put("chartreuse2",
  415. new float[] {118/255f, 238/255f, 0/255f, 0f});
  416. systemColors.put("chartreuse3",
  417. new float[] {102/255f, 205/255f, 0/255f, 0f});
  418. systemColors.put("chartreuse4",
  419. new float[] {69/255f, 139/255f, 0/255f, 0f});
  420. systemColors.put("chartreuse",
  421. new float[] {127/255f, 255/255f, 0/255f, 0f});
  422. systemColors.put("chocolate1",
  423. new float[] {255/255f, 127/255f, 36/255f, 0f});
  424. systemColors.put("chocolate2",
  425. new float[] {238/255f, 118/255f, 33/255f, 0f});
  426. systemColors.put("chocolate3",
  427. new float[] {205/255f, 102/255f, 29/255f, 0f});
  428. systemColors.put("chocolate4",
  429. new float[] {139/255f, 69/255f, 19/255f, 0f});
  430. systemColors.put("chocolate",
  431. new float[] {210/255f, 105/255f, 30/255f, 0f});
  432. systemColors.put("coral1",
  433. new float[] {255/255f, 114/255f, 86/255f, 0f});
  434. systemColors.put("coral2",
  435. new float[] {238/255f, 106/255f, 80/255f, 0f});
  436. systemColors.put("coral3",
  437. new float[] {205/255f, 91/255f, 69/255f, 0f});
  438. systemColors.put("coral4",
  439. new float[] {139/255f, 62/255f, 47/255f, 0f});
  440. systemColors.put("coral",
  441. new float[] {255/255f, 127/255f, 80/255f, 0f});
  442. systemColors.put("cornflowerblue",
  443. new float[] {100/255f, 149/255f, 237/255f, 0f});
  444. systemColors.put("cornsilk1",
  445. new float[] {255/255f, 248/255f, 220/255f, 0f});
  446. systemColors.put("cornsilk2",
  447. new float[] {238/255f, 232/255f, 205/255f, 0f});
  448. systemColors.put("cornsilk3",
  449. new float[] {205/255f, 200/255f, 177/255f, 0f});
  450. systemColors.put("cornsilk4",
  451. new float[] {139/255f, 136/255f, 120/255f, 0f});
  452. systemColors.put("cornsilk",
  453. new float[] {255/255f, 248/255f, 220/255f, 0f});
  454. systemColors.put("cyan1",
  455. new float[] {0/255f, 255/255f, 255/255f, 0f});
  456. systemColors.put("cyan2",
  457. new float[] {0/255f, 238/255f, 238/255f, 0f});
  458. systemColors.put("cyan3",
  459. new float[] {0/255f, 205/255f, 205/255f, 0f});
  460. systemColors.put("cyan4",
  461. new float[] {0/255f, 139/255f, 139/255f, 0f});
  462. systemColors.put("cyan",
  463. new float[] {0/255f, 255/255f, 255/255f, 0f});
  464. systemColors.put("darkblue",
  465. new float[] {0/255f, 0/255f, 139/255f, 0f});
  466. systemColors.put("darkcyan",
  467. new float[] {0/255f, 139/255f, 139/255f, 0f});
  468. systemColors.put("darkgoldenrod1",
  469. new float[] {255/255f, 185/255f, 15/255f, 0f});
  470. systemColors.put("darkgoldenrod2",
  471. new float[] {238/255f, 173/255f, 14/255f, 0f});
  472. systemColors.put("darkgoldenrod3",
  473. new float[] {205/255f, 149/255f, 12/255f, 0f});
  474. systemColors.put("darkgoldenrod4",
  475. new float[] {139/255f, 101/255f, 8/255f, 0f});
  476. systemColors.put("darkgoldenrod",
  477. new float[] {184/255f, 134/255f, 11/255f, 0f});
  478. systemColors.put("darkgray",
  479. new float[] {169/255f, 169/255f, 169/255f, 0f});
  480. systemColors.put("darkgreen",
  481. new float[] {0/255f, 100/255f, 0/255f, 0f});
  482. systemColors.put("darkgrey",
  483. new float[] {169/255f, 169/255f, 169/255f, 0f});
  484. systemColors.put("darkkhaki",
  485. new float[] {189/255f, 183/255f, 107/255f, 0f});
  486. systemColors.put("darkmagenta",
  487. new float[] {139/255f, 0/255f, 139/255f, 0f});
  488. systemColors.put("darkolivegreen1",
  489. new float[] {202/255f, 255/255f, 112/255f, 0f});
  490. systemColors.put("darkolivegreen2",
  491. new float[] {188/255f, 238/255f, 104/255f, 0f});
  492. systemColors.put("darkolivegreen3",
  493. new float[] {162/255f, 205/255f, 90/255f, 0f});
  494. systemColors.put("darkolivegreen4",
  495. new float[] {110/255f, 139/255f, 61/255f, 0f});
  496. systemColors.put("darkolivegreen",
  497. new float[] {85/255f, 107/255f, 47/255f, 0f});
  498. systemColors.put("darkorange1",
  499. new float[] {255/255f, 127/255f, 0/255f, 0f});
  500. systemColors.put("darkorange2",
  501. new float[] {238/255f, 118/255f, 0/255f, 0f});
  502. systemColors.put("darkorange3",
  503. new float[] {205/255f, 102/255f, 0/255f, 0f});
  504. systemColors.put("darkorange4",
  505. new float[] {139/255f, 69/255f, 0/255f, 0f});
  506. systemColors.put("darkorange",
  507. new float[] {255/255f, 140/255f, 0/255f, 0f});
  508. systemColors.put("darkorchid1",
  509. new float[] {191/255f, 62/255f, 255/255f, 0f});
  510. systemColors.put("darkorchid2",
  511. new float[] {178/255f, 58/255f, 238/255f, 0f});
  512. systemColors.put("darkorchid3",
  513. new float[] {154/255f, 50/255f, 205/255f, 0f});
  514. systemColors.put("darkorchid4",
  515. new float[] {104/255f, 34/255f, 139/255f, 0f});
  516. systemColors.put("darkorchid",
  517. new float[] {153/255f, 50/255f, 204/255f, 0f});
  518. systemColors.put("darkred",
  519. new float[] {139/255f, 0/255f, 0/255f, 0f});
  520. systemColors.put("darksalmon",
  521. new float[] {233/255f, 150/255f, 122/255f, 0f});
  522. systemColors.put("darkseagreen1",
  523. new float[] {193/255f, 255/255f, 193/255f, 0f});
  524. systemColors.put("darkseagreen2",
  525. new float[] {180/255f, 238/255f, 180/255f, 0f});
  526. systemColors.put("darkseagreen3",
  527. new float[] {155/255f, 205/255f, 155/255f, 0f});
  528. systemColors.put("darkseagreen4",
  529. new float[] {105/255f, 139/255f, 105/255f, 0f});
  530. systemColors.put("darkseagreen",
  531. new float[] {143/255f, 188/255f, 143/255f, 0f});
  532. systemColors.put("darkslateblue",
  533. new float[] {72/255f, 61/255f, 139/255f, 0f});
  534. systemColors.put("darkslategray1",
  535. new float[] {151/255f, 255/255f, 255/255f, 0f});
  536. systemColors.put("darkslategray2",
  537. new float[] {141/255f, 238/255f, 238/255f, 0f});
  538. systemColors.put("darkslategray3",
  539. new float[] {121/255f, 205/255f, 205/255f, 0f});
  540. systemColors.put("darkslategray4",
  541. new float[] {82/255f, 139/255f, 139/255f, 0f});
  542. systemColors.put("darkslategray",
  543. new float[] {47/255f, 79/255f, 79/255f, 0f});
  544. systemColors.put("darkslategrey",
  545. new float[] {47/255f, 79/255f, 79/255f, 0f});
  546. systemColors.put("darkturquoise",
  547. new float[] {0/255f, 206/255f, 209/255f, 0f});
  548. systemColors.put("darkviolet",
  549. new float[] {148/255f, 0/255f, 211/255f, 0f});
  550. systemColors.put("deeppink1",
  551. new float[] {255/255f, 20/255f, 147/255f, 0f});
  552. systemColors.put("deeppink2",
  553. new float[] {238/255f, 18/255f, 137/255f, 0f});
  554. systemColors.put("deeppink3",
  555. new float[] {205/255f, 16/255f, 118/255f, 0f});
  556. systemColors.put("deeppink4",
  557. new float[] {139/255f, 10/255f, 80/255f, 0f});
  558. systemColors.put("deeppink",
  559. new float[] {255/255f, 20/255f, 147/255f, 0f});
  560. systemColors.put("deepskyblue1",
  561. new float[] {0/255f, 191/255f, 255/255f, 0f});
  562. systemColors.put("deepskyblue2",
  563. new float[] {0/255f, 178/255f, 238/255f, 0f});
  564. systemColors.put("deepskyblue3",
  565. new float[] {0/255f, 154/255f, 205/255f, 0f});
  566. systemColors.put("deepskyblue4",
  567. new float[] {0/255f, 104/255f, 139/255f, 0f});
  568. systemColors.put("deepskyblue",
  569. new float[] {0/255f, 191/255f, 255/255f, 0f});
  570. systemColors.put("dimgray",
  571. new float[] {105/255f, 105/255f, 105/255f, 0f});
  572. systemColors.put("dimgrey",
  573. new float[] {105/255f, 105/255f, 105/255f, 0f});
  574. systemColors.put("dodgerblue1",
  575. new float[] {30/255f, 144/255f, 255/255f, 0f});
  576. systemColors.put("dodgerblue2",
  577. new float[] {28/255f, 134/255f, 238/255f, 0f});
  578. systemColors.put("dodgerblue3",
  579. new float[] {24/255f, 116/255f, 205/255f, 0f});
  580. systemColors.put("dodgerblue4",
  581. new float[] {16/255f, 78/255f, 139/255f, 0f});
  582. systemColors.put("dodgerblue",
  583. new float[] {30/255f, 144/255f, 255/255f, 0f});
  584. systemColors.put("firebrick1",
  585. new float[] {255/255f, 48/255f, 48/255f, 0f});
  586. systemColors.put("firebrick2",
  587. new float[] {238/255f, 44/255f, 44/255f, 0f});
  588. systemColors.put("firebrick3",
  589. new float[] {205/255f, 38/255f, 38/255f, 0f});
  590. systemColors.put("firebrick4",
  591. new float[] {139/255f, 26/255f, 26/255f, 0f});
  592. systemColors.put("firebrick",
  593. new float[] {178/255f, 34/255f, 34/255f, 0f});
  594. systemColors.put("floralwhite",
  595. new float[] {255/255f, 250/255f, 240/255f, 0f});
  596. systemColors.put("forestgreen",
  597. new float[] {34/255f, 139/255f, 34/255f, 0f});
  598. systemColors.put("gainsboro",
  599. new float[] {220/255f, 220/255f, 220/255f, 0f});
  600. systemColors.put("ghostwhite",
  601. new float[] {248/255f, 248/255f, 255/255f, 0f});
  602. systemColors.put("gold1",
  603. new float[] {255/255f, 215/255f, 0/255f, 0f});
  604. systemColors.put("gold2",
  605. new float[] {238/255f, 201/255f, 0/255f, 0f});
  606. systemColors.put("gold3",
  607. new float[] {205/255f, 173/255f, 0/255f, 0f});
  608. systemColors.put("gold4",
  609. new float[] {139/255f, 117/255f, 0/255f, 0f});
  610. systemColors.put("goldenrod1",
  611. new float[] {255/255f, 193/255f, 37/255f, 0f});
  612. systemColors.put("goldenrod2",
  613. new float[] {238/255f, 180/255f, 34/255f, 0f});
  614. systemColors.put("goldenrod3",
  615. new float[] {205/255f, 155/255f, 29/255f, 0f});
  616. systemColors.put("goldenrod4",
  617. new float[] {139/255f, 105/255f, 20/255f, 0f});
  618. systemColors.put("goldenrod",
  619. new float[] {218/255f, 165/255f, 32/255f, 0f});
  620. systemColors.put("gold",
  621. new float[] {255/255f, 215/255f, 0/255f, 0f});
  622. systemColors.put("gray0",
  623. new float[] {0/255f, 0/255f, 0/255f, 0f});
  624. systemColors.put("gray100",
  625. new float[] {255/255f, 255/255f, 255/255f, 0f});
  626. systemColors.put("gray10",
  627. new float[] {26/255f, 26/255f, 26/255f, 0f});
  628. systemColors.put("gray11",
  629. new float[] {28/255f, 28/255f, 28/255f, 0f});
  630. systemColors.put("gray12",
  631. new float[] {31/255f, 31/255f, 31/255f, 0f});
  632. systemColors.put("gray13",
  633. new float[] {33/255f, 33/255f, 33/255f, 0f});
  634. systemColors.put("gray14",
  635. new float[] {36/255f, 36/255f, 36/255f, 0f});
  636. systemColors.put("gray15",
  637. new float[] {38/255f, 38/255f, 38/255f, 0f});
  638. systemColors.put("gray16",
  639. new float[] {41/255f, 41/255f, 41/255f, 0f});
  640. systemColors.put("gray17",
  641. new float[] {43/255f, 43/255f, 43/255f, 0f});
  642. systemColors.put("gray18",
  643. new float[] {46/255f, 46/255f, 46/255f, 0f});
  644. systemColors.put("gray19",
  645. new float[] {48/255f, 48/255f, 48/255f, 0f});
  646. systemColors.put("gray1",
  647. new float[] {3/255f, 3/255f, 3/255f, 0f});
  648. systemColors.put("gray20",
  649. new float[] {51/255f, 51/255f, 51/255f, 0f});
  650. systemColors.put("gray21",
  651. new float[] {54/255f, 54/255f, 54/255f, 0f});
  652. systemColors.put("gray22",
  653. new float[] {56/255f, 56/255f, 56/255f, 0f});
  654. systemColors.put("gray23",
  655. new float[] {59/255f, 59/255f, 59/255f, 0f});
  656. systemColors.put("gray24",
  657. new float[] {61/255f, 61/255f, 61/255f, 0f});
  658. systemColors.put("gray25",
  659. new float[] {64/255f, 64/255f, 64/255f, 0f});
  660. systemColors.put("gray26",
  661. new float[] {66/255f, 66/255f, 66/255f, 0f});
  662. systemColors.put("gray27",
  663. new float[] {69/255f, 69/255f, 69/255f, 0f});
  664. systemColors.put("gray28",
  665. new float[] {71/255f, 71/255f, 71/255f, 0f});
  666. systemColors.put("gray29",
  667. new float[] {74/255f, 74/255f, 74/255f, 0f});
  668. systemColors.put("gray2",
  669. new float[] {5/255f, 5/255f, 5/255f, 0f});
  670. systemColors.put("gray30",
  671. new float[] {77/255f, 77/255f, 77/255f, 0f});
  672. systemColors.put("gray31",
  673. new float[] {79/255f, 79/255f, 79/255f, 0f});
  674. systemColors.put("gray32",
  675. new float[] {82/255f, 82/255f, 82/255f, 0f});
  676. systemColors.put("gray33",
  677. new float[] {84/255f, 84/255f, 84/255f, 0f});
  678. systemColors.put("gray34",
  679. new float[] {87/255f, 87/255f, 87/255f, 0f});
  680. systemColors.put("gray35",
  681. new float[] {89/255f, 89/255f, 89/255f, 0f});
  682. systemColors.put("gray36",
  683. new float[] {92/255f, 92/255f, 92/255f, 0f});
  684. systemColors.put("gray37",
  685. new float[] {94/255f, 94/255f, 94/255f, 0f});
  686. systemColors.put("gray38",
  687. new float[] {97/255f, 97/255f, 97/255f, 0f});
  688. systemColors.put("gray39",
  689. new float[] {99/255f, 99/255f, 99/255f, 0f});
  690. systemColors.put("gray3",
  691. new float[] {8/255f, 8/255f, 8/255f, 0f});
  692. systemColors.put("gray40",
  693. new float[] {102/255f, 102/255f, 102/255f, 0f});
  694. systemColors.put("gray41",
  695. new float[] {105/255f, 105/255f, 105/255f, 0f});
  696. systemColors.put("gray42",
  697. new float[] {107/255f, 107/255f, 107/255f, 0f});
  698. systemColors.put("gray43",
  699. new float[] {110/255f, 110/255f, 110/255f, 0f});
  700. systemColors.put("gray44",
  701. new float[] {112/255f, 112/255f, 112/255f, 0f});
  702. systemColors.put("gray45",
  703. new float[] {115/255f, 115/255f, 115/255f, 0f});
  704. systemColors.put("gray46",
  705. new float[] {117/255f, 117/255f, 117/255f, 0f});
  706. systemColors.put("gray47",
  707. new float[] {120/255f, 120/255f, 120/255f, 0f});
  708. systemColors.put("gray48",
  709. new float[] {122/255f, 122/255f, 122/255f, 0f});
  710. systemColors.put("gray49",
  711. new float[] {125/255f, 125/255f, 125/255f, 0f});
  712. systemColors.put("gray4",
  713. new float[] {10/255f, 10/255f, 10/255f, 0f});
  714. systemColors.put("gray50",
  715. new float[] {127/255f, 127/255f, 127/255f, 0f});
  716. systemColors.put("gray51",
  717. new float[] {130/255f, 130/255f, 130/255f, 0f});
  718. systemColors.put("gray52",
  719. new float[] {133/255f, 133/255f, 133/255f, 0f});
  720. systemColors.put("gray53",
  721. new float[] {135/255f, 135/255f, 135/255f, 0f});
  722. systemColors.put("gray54",
  723. new float[] {138/255f, 138/255f, 138/255f, 0f});
  724. systemColors.put("gray55",
  725. new float[] {140/255f, 140/255f, 140/255f, 0f});
  726. systemColors.put("gray56",
  727. new float[] {143/255f, 143/255f, 143/255f, 0f});
  728. systemColors.put("gray57",
  729. new float[] {145/255f, 145/255f, 145/255f, 0f});
  730. systemColors.put("gray58",
  731. new float[] {148/255f, 148/255f, 148/255f, 0f});
  732. systemColors.put("gray59",
  733. new float[] {150/255f, 150/255f, 150/255f, 0f});
  734. systemColors.put("gray5",
  735. new float[] {13/255f, 13/255f, 13/255f, 0f});
  736. systemColors.put("gray60",
  737. new float[] {153/255f, 153/255f, 153/255f, 0f});
  738. systemColors.put("gray61",
  739. new float[] {156/255f, 156/255f, 156/255f, 0f});
  740. systemColors.put("gray62",
  741. new float[] {158/255f, 158/255f, 158/255f, 0f});
  742. systemColors.put("gray63",
  743. new float[] {161/255f, 161/255f, 161/255f, 0f});
  744. systemColors.put("gray64",
  745. new float[] {163/255f, 163/255f, 163/255f, 0f});
  746. systemColors.put("gray65",
  747. new float[] {166/255f, 166/255f, 166/255f, 0f});
  748. systemColors.put("gray66",
  749. new float[] {168/255f, 168/255f, 168/255f, 0f});
  750. systemColors.put("gray67",
  751. new float[] {171/255f, 171/255f, 171/255f, 0f});
  752. systemColors.put("gray68",
  753. new float[] {173/255f, 173/255f, 173/255f, 0f});
  754. systemColors.put("gray69",
  755. new float[] {176/255f, 176/255f, 176/255f, 0f});
  756. systemColors.put("gray6",
  757. new float[] {15/255f, 15/255f, 15/255f, 0f});
  758. systemColors.put("gray70",
  759. new float[] {179/255f, 179/255f, 179/255f, 0f});
  760. systemColors.put("gray71",
  761. new float[] {181/255f, 181/255f, 181/255f, 0f});
  762. systemColors.put("gray72",
  763. new float[] {184/255f, 184/255f, 184/255f, 0f});
  764. systemColors.put("gray73",
  765. new float[] {186/255f, 186/255f, 186/255f, 0f});
  766. systemColors.put("gray74",
  767. new float[] {189/255f, 189/255f, 189/255f, 0f});
  768. systemColors.put("gray75",
  769. new float[] {191/255f, 191/255f, 191/255f, 0f});
  770. systemColors.put("gray76",
  771. new float[] {194/255f, 194/255f, 194/255f, 0f});
  772. systemColors.put("gray77",
  773. new float[] {196/255f, 196/255f, 196/255f, 0f});
  774. systemColors.put("gray78",
  775. new float[] {199/255f, 199/255f, 199/255f, 0f});
  776. systemColors.put("gray79",
  777. new float[] {201/255f, 201/255f, 201/255f, 0f});
  778. systemColors.put("gray7",
  779. new float[] {18/255f, 18/255f, 18/255f, 0f});
  780. systemColors.put("gray80",
  781. new float[] {204/255f, 204/255f, 204/255f, 0f});
  782. systemColors.put("gray81",
  783. new float[] {207/255f, 207/255f, 207/255f, 0f});
  784. systemColors.put("gray82",
  785. new float[] {209/255f, 209/255f, 209/255f, 0f});
  786. systemColors.put("gray83",
  787. new float[] {212/255f, 212/255f, 212/255f, 0f});
  788. systemColors.put("gray84",
  789. new float[] {214/255f, 214/255f, 214/255f, 0f});
  790. systemColors.put("gray85",
  791. new float[] {217/255f, 217/255f, 217/255f, 0f});
  792. systemColors.put("gray86",
  793. new float[] {219/255f, 219/255f, 219/255f, 0f});
  794. systemColors.put("gray87",
  795. new float[] {222/255f, 222/255f, 222/255f, 0f});
  796. systemColors.put("gray88",
  797. new float[] {224/255f, 224/255f, 224/255f, 0f});
  798. systemColors.put("gray89",
  799. new float[] {227/255f, 227/255f, 227/255f, 0f});
  800. systemColors.put("gray8",
  801. new float[] {20/255f, 20/255f, 20/255f, 0f});
  802. systemColors.put("gray90",
  803. new float[] {229/255f, 229/255f, 229/255f, 0f});
  804. systemColors.put("gray91",
  805. new float[] {232/255f, 232/255f, 232/255f, 0f});
  806. systemColors.put("gray92",
  807. new float[] {235/255f, 235/255f, 235/255f, 0f});
  808. systemColors.put("gray93",
  809. new float[] {237/255f, 237/255f, 237/255f, 0f});
  810. systemColors.put("gray94",
  811. new float[] {240/255f, 240/255f, 240/255f, 0f});
  812. systemColors.put("gray95",
  813. new float[] {242/255f, 242/255f, 242/255f, 0f});
  814. systemColors.put("gray96",
  815. new float[] {245/255f, 245/255f, 245/255f, 0f});
  816. systemColors.put("gray97",
  817. new float[] {247/255f, 247/255f, 247/255f, 0f});
  818. systemColors.put("gray98",
  819. new float[] {250/255f, 250/255f, 250/255f, 0f});
  820. systemColors.put("gray99",
  821. new float[] {252/255f, 252/255f, 252/255f, 0f});
  822. systemColors.put("gray9",
  823. new float[] {23/255f, 23/255f, 23/255f, 0f});
  824. systemColors.put("gray",
  825. new float[] {190/255f, 190/255f, 190/255f, 0f});
  826. systemColors.put("green1",
  827. new float[] {0/255f, 255/255f, 0/255f, 0f});
  828. systemColors.put("green2",
  829. new float[] {0/255f, 238/255f, 0/255f, 0f});
  830. systemColors.put("green3",
  831. new float[] {0/255f, 205/255f, 0/255f, 0f});
  832. systemColors.put("green4",
  833. new float[] {0/255f, 139/255f, 0/255f, 0f});
  834. systemColors.put("green",
  835. new float[] {0/255f, 255/255f, 0/255f, 0f});
  836. systemColors.put("greenyellow",
  837. new float[] {173/255f, 255/255f, 47/255f, 0f});
  838. systemColors.put("grey0",
  839. new float[] {0/255f, 0/255f, 0/255f, 0f});
  840. systemColors.put("grey100",
  841. new float[] {255/255f, 255/255f, 255/255f, 0f});
  842. systemColors.put("grey10",
  843. new float[] {26/255f, 26/255f, 26/255f, 0f});
  844. systemColors.put("grey11",
  845. new float[] {28/255f, 28/255f, 28/255f, 0f});
  846. systemColors.put("grey12",
  847. new float[] {31/255f, 31/255f, 31/255f, 0f});
  848. systemColors.put("grey13",
  849. new float[] {33/255f, 33/255f, 33/255f, 0f});
  850. systemColors.put("grey14",
  851. new float[] {36/255f, 36/255f, 36/255f, 0f});
  852. systemColors.put("grey15",
  853. new float[] {38/255f, 38/255f, 38/255f, 0f});
  854. systemColors.put("grey16",
  855. new float[] {41/255f, 41/255f, 41/255f, 0f});
  856. systemColors.put("grey17",
  857. new float[] {43/255f, 43/255f, 43/255f, 0f});
  858. systemColors.put("grey18",
  859. new float[] {46/255f, 46/255f, 46/255f, 0f});
  860. systemColors.put("grey19",
  861. new float[] {48/255f, 48/255f, 48/255f, 0f});
  862. systemColors.put("grey1",
  863. new float[] {3/255f, 3/255f, 3/255f, 0f});
  864. systemColors.put("grey20",
  865. new float[] {51/255f, 51/255f, 51/255f, 0f});
  866. systemColors.put("grey21",
  867. new float[] {54/255f, 54/255f, 54/255f, 0f});
  868. systemColors.put("grey22",
  869. new float[] {56/255f, 56/255f, 56/255f, 0f});
  870. systemColors.put("grey23",
  871. new float[] {59/255f, 59/255f, 59/255f, 0f});
  872. systemColors.put("grey24",
  873. new float[] {61/255f, 61/255f, 61/255f, 0f});
  874. systemColors.put("grey25",
  875. new float[] {64/255f, 64/255f, 64/255f, 0f});
  876. systemColors.put("grey26",
  877. new float[] {66/255f, 66/255f, 66/255f, 0f});
  878. systemColors.put("grey27",
  879. new float[] {69/255f, 69/255f, 69/255f, 0f});
  880. systemColors.put("grey28",
  881. new float[] {71/255f, 71/255f, 71/255f, 0f});
  882. systemColors.put("grey29",
  883. new float[] {74/255f, 74/255f, 74/255f, 0f});
  884. systemColors.put("grey2",
  885. new float[] {5/255f, 5/255f, 5/255f, 0f});
  886. systemColors.put("grey30",
  887. new float[] {77/255f, 77/255f, 77/255f, 0f});
  888. systemColors.put("grey31",
  889. new float[] {79/255f, 79/255f, 79/255f, 0f});
  890. systemColors.put("grey32",
  891. new float[] {82/255f, 82/255f, 82/255f, 0f});
  892. systemColors.put("grey33",
  893. new float[] {84/255f, 84/255f, 84/255f, 0f});
  894. systemColors.put("grey34",
  895. new float[] {87/255f, 87/255f, 87/255f, 0f});
  896. systemColors.put("grey35",
  897. new float[] {89/255f, 89/255f, 89/255f, 0f});
  898. systemColors.put("grey36",
  899. new float[] {92/255f, 92/255f, 92/255f, 0f});
  900. systemColors.put("grey37",
  901. new float[] {94/255f, 94/255f, 94/255f, 0f});
  902. systemColors.put("grey38",
  903. new float[] {97/255f, 97/255f, 97/255f, 0f});
  904. systemColors.put("grey39",
  905. new float[] {99/255f, 99/255f, 99/255f, 0f});
  906. systemColors.put("grey3",
  907. new float[] {8/255f, 8/255f, 8/255f, 0f});
  908. systemColors.put("grey40",
  909. new float[] {102/255f, 102/255f, 102/255f, 0f});
  910. systemColors.put("grey41",
  911. new float[] {105/255f, 105/255f, 105/255f, 0f});
  912. systemColors.put("grey42",
  913. new float[] {107/255f, 107/255f, 107/255f, 0f});
  914. systemColors.put("grey43",
  915. new float[] {110/255f, 110/255f, 110/255f, 0f});
  916. systemColors.put("grey44",
  917. new float[] {112/255f, 112/255f, 112/255f, 0f});
  918. systemColors.put("grey45",
  919. new float[] {115/255f, 115/255f, 115/255f, 0f});
  920. systemColors.put("grey46",
  921. new float[] {117/255f, 117/255f, 117/255f, 0f});
  922. systemColors.put("grey47",
  923. new float[] {120/255f, 120/255f, 120/255f, 0f});
  924. systemColors.put("grey48",
  925. new float[] {122/255f, 122/255f, 122/255f, 0f});
  926. systemColors.put("grey49",
  927. new float[] {125/255f, 125/255f, 125/255f, 0f});
  928. systemColors.put("grey4",
  929. new float[] {10/255f, 10/255f, 10/255f, 0f});
  930. systemColors.put("grey50",
  931. new float[] {127/255f, 127/255f, 127/255f, 0f});
  932. systemColors.put("grey51",
  933. new float[] {130/255f, 130/255f, 130/255f, 0f});
  934. systemColors.put("grey52",
  935. new float[] {133/255f, 133/255f, 133/255f, 0f});
  936. systemColors.put("grey53",
  937. new float[] {135/255f, 135/255f, 135/255f, 0f});
  938. systemColors.put("grey54",
  939. new float[] {138/255f, 138/255f, 138/255f, 0f});
  940. systemColors.put("grey55",
  941. new float[] {140/255f, 140/255f, 140/255f, 0f});
  942. systemColors.put("grey56",
  943. new float[] {143/255f, 143/255f, 143/255f, 0f});
  944. systemColors.put("grey57",
  945. new float[] {145/255f, 145/255f, 145/255f, 0f});
  946. systemColors.put("grey58",
  947. new float[] {148/255f, 148/255f, 148/255f, 0f});
  948. systemColors.put("grey59",
  949. new float[] {150/255f, 150/255f, 150/255f, 0f});
  950. systemColors.put("grey5",
  951. new float[] {13/255f, 13/255f, 13/255f, 0f});
  952. systemColors.put("grey60",
  953. new float[] {153/255f, 153/255f, 153/255f, 0f});
  954. systemColors.put("grey61",
  955. new float[] {156/255f, 156/255f, 156/255f, 0f});
  956. systemColors.put("grey62",
  957. new float[] {158/255f, 158/255f, 158/255f, 0f});
  958. systemColors.put("grey63",
  959. new float[] {161/255f, 161/255f, 161/255f, 0f});
  960. systemColors.put("grey64",
  961. new float[] {163/255f, 163/255f, 163/255f, 0f});
  962. systemColors.put("grey65",
  963. new float[] {166/255f, 166/255f, 166/255f, 0f});
  964. systemColors.put("grey66",
  965. new float[] {168/255f, 168/255f, 168/255f, 0f});
  966. systemColors.put("grey67",
  967. new float[] {171/255f, 171/255f, 171/255f, 0f});
  968. systemColors.put("grey68",
  969. new float[] {173/255f, 173/255f, 173/255f, 0f});
  970. systemColors.put("grey69",
  971. new float[] {176/255f, 176/255f, 176/255f, 0f});
  972. systemColors.put("grey6",
  973. new float[] {15/255f, 15/255f, 15/255f, 0f});
  974. systemColors.put("grey70",
  975. new float[] {179/255f, 179/255f, 179/255f, 0f});
  976. systemColors.put("grey71",
  977. new float[] {181/255f, 181/255f, 181/255f, 0f});
  978. systemColors.put("grey72",
  979. new float[] {184/255f, 184/255f, 184/255f, 0f});
  980. systemColors.put("grey73",
  981. new float[] {186/255f, 186/255f, 186/255f, 0f});
  982. systemColors.put("grey74",
  983. new float[] {189/255f, 189/255f, 189/255f, 0f});
  984. systemColors.put("grey75",
  985. new float[] {191/255f, 191/255f, 191/255f, 0f});
  986. systemColors.put("grey76",
  987. new float[] {194/255f, 194/255f, 194/255f, 0f});
  988. systemColors.put("grey77",
  989. new float[] {196/255f, 196/255f, 196/255f, 0f});
  990. systemColors.put("grey78",
  991. new float[] {199/255f, 199/255f, 199/255f, 0f});
  992. systemColors.put("grey79",
  993. new float[] {201/255f, 201/255f, 201/255f, 0f});
  994. systemColors.put("grey7",
  995. new float[] {18/255f, 18/255f, 18/255f, 0f});
  996. systemColors.put("grey80",
  997. new float[] {204/255f, 204/255f, 204/255f, 0f});
  998. systemColors.put("grey81",
  999. new float[] {207/255f, 207/255f, 207/255f, 0f});
  1000. systemColors.put("grey82",
  1001. new float[] {209/255f, 209/255f, 209/255f, 0f});
  1002. systemColors.put("grey83",
  1003. new float[] {212/255f, 212/255f, 212/255f, 0f});
  1004. systemColors.put("grey84",
  1005. new float[] {214/255f, 214/255f, 214/255f, 0f});
  1006. systemColors.put("grey85",
  1007. new float[] {217/255f, 217/255f, 217/255f, 0f});
  1008. systemColors.put("grey86",
  1009. new float[] {219/255f, 219/255f, 219/255f, 0f});
  1010. systemColors.put("grey87",
  1011. new float[] {222/255f, 222/255f, 222/255f, 0f});
  1012. systemColors.put("grey88",
  1013. new float[] {224/255f, 224/255f, 224/255f, 0f});
  1014. systemColors.put("grey89",
  1015. new float[] {227/255f, 227/255f, 227/255f, 0f});
  1016. systemColors.put("grey8",
  1017. new float[] {20/255f, 20/255f, 20/255f, 0f});
  1018. systemColors.put("grey90",
  1019. new float[] {229/255f, 229/255f, 229/255f, 0f});
  1020. systemColors.put("grey91",
  1021. new float[] {232/255f, 232/255f, 232/255f, 0f});
  1022. systemColors.put("grey92",
  1023. new float[] {235/255f, 235/255f, 235/255f, 0f});
  1024. systemColors.put("grey93",
  1025. new float[] {237/255f, 237/255f, 237/255f, 0f});
  1026. systemColors.put("grey94",
  1027. new float[] {240/255f, 240/255f, 240/255f, 0f});
  1028. systemColors.put("grey95",
  1029. new float[] {242/255f, 242/255f, 242/255f, 0f});
  1030. systemColors.put("grey96",
  1031. new float[] {245/255f, 245/255f, 245/255f, 0f});
  1032. systemColors.put("grey97",
  1033. new float[] {247/255f, 247/255f, 247/255f, 0f});
  1034. systemColors.put("grey98",
  1035. new float[] {250/255f, 250/255f, 250/255f, 0f});
  1036. systemColors.put("grey99",
  1037. new float[] {252/255f, 252/255f, 252/255f, 0f});
  1038. systemColors.put("grey9",
  1039. new float[] {23/255f, 23/255f, 23/255f, 0f});
  1040. systemColors.put("grey",
  1041. new float[] {190/255f, 190/255f, 190/255f, 0f});
  1042. systemColors.put("honeydew1",
  1043. new float[] {240/255f, 255/255f, 240/255f, 0f});
  1044. systemColors.put("honeydew2",
  1045. new float[] {224/255f, 238/255f, 224/255f, 0f});
  1046. systemColors.put("honeydew3",
  1047. new float[] {193/255f, 205/255f, 193/255f, 0f});
  1048. systemColors.put("honeydew4",
  1049. new float[] {131/255f, 139/255f, 131/255f, 0f});
  1050. systemColors.put("honeydew",
  1051. new float[] {240/255f, 255/255f, 240/255f, 0f});
  1052. systemColors.put("hotpink1",
  1053. new float[] {255/255f, 110/255f, 180/255f, 0f});
  1054. systemColors.put("hotpink2",
  1055. new float[] {238/255f, 106/255f, 167/255f, 0f});
  1056. systemColors.put("hotpink3",
  1057. new float[] {205/255f, 96/255f, 144/255f, 0f});
  1058. systemColors.put("hotpink4",
  1059. new float[] {139/255f, 58/255f, 98/255f, 0f});
  1060. systemColors.put("hotpink",
  1061. new float[] {255/255f, 105/255f, 180/255f, 0f});
  1062. systemColors.put("indianred1",
  1063. new float[] {255/255f, 106/255f, 106/255f, 0f});
  1064. systemColors.put("indianred2",
  1065. new float[] {238/255f, 99/255f, 99/255f, 0f});
  1066. systemColors.put("indianred3",
  1067. new float[] {205/255f, 85/255f, 85/255f, 0f});
  1068. systemColors.put("indianred4",
  1069. new float[] {139/255f, 58/255f, 58/255f, 0f});
  1070. systemColors.put("indianred",
  1071. new float[] {205/255f, 92/255f, 92/255f, 0f});
  1072. systemColors.put("ivory1",
  1073. new float[] {255/255f, 255/255f, 240/255f, 0f});
  1074. systemColors.put("ivory2",
  1075. new float[] {238/255f, 238/255f, 224/255f, 0f});
  1076. systemColors.put("ivory3",
  1077. new float[] {205/255f, 205/255f, 193/255f, 0f});
  1078. systemColors.put("ivory4",
  1079. new float[] {139/255f, 139/255f, 131/255f, 0f});
  1080. systemColors.put("ivory",
  1081. new float[] {255/255f, 255/255f, 240/255f, 0f});
  1082. systemColors.put("khaki1",
  1083. new float[] {255/255f, 246/255f, 143/255f, 0f});
  1084. systemColors.put("khaki2",
  1085. new float[] {238/255f, 230/255f, 133/255f, 0f});
  1086. systemColors.put("khaki3",
  1087. new float[] {205/255f, 198/255f, 115/255f, 0f});
  1088. systemColors.put("khaki4",
  1089. new float[] {139/255f, 134/255f, 78/255f, 0f});
  1090. systemColors.put("khaki",
  1091. new float[] {240/255f, 230/255f, 140/255f, 0f});
  1092. systemColors.put("lavenderblush1",
  1093. new float[] {255/255f, 240/255f, 245/255f, 0f});
  1094. systemColors.put("lavenderblush2",
  1095. new float[] {238/255f, 224/255f, 229/255f, 0f});
  1096. systemColors.put("lavenderblush3",
  1097. new float[] {205/255f, 193/255f, 197/255f, 0f});
  1098. systemColors.put("lavenderblush4",
  1099. new float[] {139/255f, 131/255f, 134/255f, 0f});
  1100. systemColors.put("lavenderblush",
  1101. new float[] {255/255f, 240/255f, 245/255f, 0f});
  1102. systemColors.put("lavender",
  1103. new float[] {230/255f, 230/255f, 250/255f, 0f});
  1104. systemColors.put("lawngreen",
  1105. new float[] {124/255f, 252/255f, 0/255f, 0f});
  1106. systemColors.put("lemonchiffon1",
  1107. new float[] {255/255f, 250/255f, 205/255f, 0f});
  1108. systemColors.put("lemonchiffon2",
  1109. new float[] {238/255f, 233/255f, 191/255f, 0f});
  1110. systemColors.put("lemonchiffon3",
  1111. new float[] {205/255f, 201/255f, 165/255f, 0f});
  1112. systemColors.put("lemonchiffon4",
  1113. new float[] {139/255f, 137/255f, 112/255f, 0f});
  1114. systemColors.put("lemonchiffon",
  1115. new float[] {255/255f, 250/255f, 205/255f, 0f});
  1116. systemColors.put("lightblue1",
  1117. new float[] {191/255f, 239/255f, 255/255f, 0f});
  1118. systemColors.put("lightblue2",
  1119. new float[] {178/255f, 223/255f, 238/255f, 0f});
  1120. systemColors.put("lightblue3",
  1121. new float[] {154/255f, 192/255f, 205/255f, 0f});
  1122. systemColors.put("lightblue4",
  1123. new float[] {104/255f, 131/255f, 139/255f, 0f});
  1124. systemColors.put("lightblue",
  1125. new float[] {173/255f, 216/255f, 230/255f, 0f});
  1126. systemColors.put("lightcoral",
  1127. new float[] {240/255f, 128/255f, 128/255f, 0f});
  1128. systemColors.put("lightcyan1",
  1129. new float[] {224/255f, 255/255f, 255/255f, 0f});
  1130. systemColors.put("lightcyan2",
  1131. new float[] {209/255f, 238/255f, 238/255f, 0f});
  1132. systemColors.put("lightcyan3",
  1133. new float[] {180/255f, 205/255f, 205/255f, 0f});
  1134. systemColors.put("lightcyan4",
  1135. new float[] {122/255f, 139/255f, 139/255f, 0f});
  1136. systemColors.put("lightcyan",
  1137. new float[] {224/255f, 255/255f, 255/255f, 0f});
  1138. systemColors.put("lightgoldenrod1",
  1139. new float[] {255/255f, 236/255f, 139/255f, 0f});
  1140. systemColors.put("lightgoldenrod2",
  1141. new float[] {238/255f, 220/255f, 130/255f, 0f});
  1142. systemColors.put("lightgoldenrod3",
  1143. new float[] {205/255f, 190/255f, 112/255f, 0f});
  1144. systemColors.put("lightgoldenrod4",
  1145. new float[] {139/255f, 129/255f, 76/255f, 0f});
  1146. systemColors.put("lightgoldenrod",
  1147. new float[] {238/255f, 221/255f, 130/255f, 0f});
  1148. systemColors.put("lightgoldenrodyellow",
  1149. new float[] {250/255f, 250/255f, 210/255f, 0f});
  1150. systemColors.put("lightgray",
  1151. new float[] {211/255f, 211/255f, 211/255f, 0f});
  1152. systemColors.put("lightgreen",
  1153. new float[] {144/255f, 238/255f, 144/255f, 0f});
  1154. systemColors.put("lightgrey",
  1155. new float[] {211/255f, 211/255f, 211/255f, 0f});
  1156. systemColors.put("lightpink1",
  1157. new float[] {255/255f, 174/255f, 185/255f, 0f});
  1158. systemColors.put("lightpink2",
  1159. new float[] {238/255f, 162/255f, 173/255f, 0f});
  1160. systemColors.put("lightpink3",
  1161. new float[] {205/255f, 140/255f, 149/255f, 0f});
  1162. systemColors.put("lightpink4",
  1163. new float[] {139/255f, 95/255f, 101/255f, 0f});
  1164. systemColors.put("lightpink",
  1165. new float[] {255/255f, 182/255f, 193/255f, 0f});
  1166. systemColors.put("lightsalmon1",
  1167. new float[] {255/255f, 160/255f, 122/255f, 0f});
  1168. systemColors.put("lightsalmon2",
  1169. new float[] {238/255f, 149/255f, 114/255f, 0f});
  1170. systemColors.put("lightsalmon3",
  1171. new float[] {205/255f, 129/255f, 98/255f, 0f});
  1172. systemColors.put("lightsalmon4",
  1173. new float[] {139/255f, 87/255f, 66/255f, 0f});
  1174. systemColors.put("lightsalmon",
  1175. new float[] {255/255f, 160/255f, 122/255f, 0f});
  1176. systemColors.put("lightseagreen",
  1177. new float[] {32/255f, 178/255f, 170/255f, 0f});
  1178. systemColors.put("lightskyblue1",
  1179. new float[] {176/255f, 226/255f, 255/255f, 0f});
  1180. systemColors.put("lightskyblue2",
  1181. new float[] {164/255f, 211/255f, 238/255f, 0f});
  1182. systemColors.put("lightskyblue3",
  1183. new float[] {141/255f, 182/255f, 205/255f, 0f});
  1184. systemColors.put("lightskyblue4",
  1185. new float[] {96/255f, 123/255f, 139/255f, 0f});
  1186. systemColors.put("lightskyblue",
  1187. new float[] {135/255f, 206/255f, 250/255f, 0f});
  1188. systemColors.put("lightslateblue",
  1189. new float[] {132/255f, 112/255f, 255/255f, 0f});
  1190. systemColors.put("lightslategray",
  1191. new float[] {119/255f, 136/255f, 153/255f, 0f});
  1192. systemColors.put("lightslategrey",
  1193. new float[] {119/255f, 136/255f, 153/255f, 0f});
  1194. systemColors.put("lightsteelblue1",
  1195. new float[] {202/255f, 225/255f, 255/255f, 0f});
  1196. systemColors.put("lightsteelblue2",
  1197. new float[] {188/255f, 210/255f, 238/255f, 0f});
  1198. systemColors.put("lightsteelblue3",
  1199. new float[] {162/255f, 181/255f, 205/255f, 0f});
  1200. systemColors.put("lightsteelblue4",
  1201. new float[] {110/255f, 123/255f, 139/255f, 0f});
  1202. systemColors.put("lightsteelblue",
  1203. new float[] {176/255f, 196/255f, 222/255f, 0f});
  1204. systemColors.put("lightyellow1",
  1205. new float[] {255/255f, 255/255f, 224/255f, 0f});
  1206. systemColors.put("lightyellow2",
  1207. new float[] {238/255f, 238/255f, 209/255f, 0f});
  1208. systemColors.put("lightyellow3",
  1209. new float[] {205/255f, 205/255f, 180/255f, 0f});
  1210. systemColors.put("lightyellow4",
  1211. new float[] {139/255f, 139/255f, 122/255f, 0f});
  1212. systemColors.put("lightyellow",
  1213. new float[] {255/255f, 255/255f, 224/255f, 0f});
  1214. systemColors.put("limegreen",
  1215. new float[] {50/255f, 205/255f, 50/255f, 0f});
  1216. systemColors.put("linen",
  1217. new float[] {250/255f, 240/255f, 230/255f, 0f});
  1218. systemColors.put("magenta1",
  1219. new float[] {255/255f, 0/255f, 255/255f, 0f});
  1220. systemColors.put("magenta2",
  1221. new float[] {238/255f, 0/255f, 238/255f, 0f});
  1222. systemColors.put("magenta3",
  1223. new float[] {205/255f, 0/255f, 205/255f, 0f});
  1224. systemColors.put("magenta4",
  1225. new float[] {139/255f, 0/255f, 139/255f, 0f});
  1226. systemColors.put("magenta",
  1227. new float[] {255/255f, 0/255f, 255/255f, 0f});
  1228. systemColors.put("maroon1",
  1229. new float[] {255/255f, 52/255f, 179/255f, 0f});
  1230. systemColors.put("maroon2",
  1231. new float[] {238/255f, 48/255f, 167/255f, 0f});
  1232. systemColors.put("maroon3",
  1233. new float[] {205/255f, 41/255f, 144/255f, 0f});
  1234. systemColors.put("maroon4",
  1235. new float[] {139/255f, 28/255f, 98/255f, 0f});
  1236. systemColors.put("maroon",
  1237. new float[] {176/255f, 48/255f, 96/255f, 0f});
  1238. systemColors.put("mediumaquamarine",
  1239. new float[] {102/255f, 205/255f, 170/255f, 0f});
  1240. systemColors.put("mediumblue",
  1241. new float[] {0/255f, 0/255f, 205/255f, 0f});
  1242. systemColors.put("mediumorchid1",
  1243. new float[] {224/255f, 102/255f, 255/255f, 0f});
  1244. systemColors.put("mediumorchid2",
  1245. new float[] {209/255f, 95/255f, 238/255f, 0f});
  1246. systemColors.put("mediumorchid3",
  1247. new float[] {180/255f, 82/255f, 205/255f, 0f});
  1248. systemColors.put("mediumorchid4",
  1249. new float[] {122/255f, 55/255f, 139/255f, 0f});
  1250. systemColors.put("mediumorchid",
  1251. new float[] {186/255f, 85/255f, 211/255f, 0f});
  1252. systemColors.put("mediumpurple1",
  1253. new float[] {171/255f, 130/255f, 255/255f, 0f});
  1254. systemColors.put("mediumpurple2",
  1255. new float[] {159/255f, 121/255f, 238/255f, 0f});
  1256. systemColors.put("mediumpurple3",
  1257. new float[] {137/255f, 104/255f, 205/255f, 0f});
  1258. systemColors.put("mediumpurple4",
  1259. new float[] {93/255f, 71/255f, 139/255f, 0f});
  1260. systemColors.put("mediumpurple",
  1261. new float[] {147/255f, 112/255f, 219/255f, 0f});
  1262. systemColors.put("mediumseagreen",
  1263. new float[] {60/255f, 179/255f, 113/255f, 0f});
  1264. systemColors.put("mediumslateblue",
  1265. new float[] {123/255f, 104/255f, 238/255f, 0f});
  1266. systemColors.put("mediumspringgreen",
  1267. new float[] {0/255f, 250/255f, 154/255f, 0f});
  1268. systemColors.put("mediumturquoise",
  1269. new float[] {72/255f, 209/255f, 204/255f, 0f});
  1270. systemColors.put("mediumvioletred",
  1271. new float[] {199/255f, 21/255f, 133/255f, 0f});
  1272. systemColors.put("midnightblue",
  1273. new float[] {25/255f, 25/255f, 112/255f, 0f});
  1274. systemColors.put("mintcream",
  1275. new float[] {245/255f, 255/255f, 250/255f, 0f});
  1276. systemColors.put("mistyrose1",
  1277. new float[] {255/255f, 228/255f, 225/255f, 0f});
  1278. systemColors.put("mistyrose2",
  1279. new float[] {238/255f, 213/255f, 210/255f, 0f});
  1280. systemColors.put("mistyrose3",
  1281. new float[] {205/255f, 183/255f, 181/255f, 0f});
  1282. systemColors.put("mistyrose4",
  1283. new float[] {139/255f, 125/255f, 123/255f, 0f});
  1284. systemColors.put("mistyrose",
  1285. new float[] {255/255f, 228/255f, 225/255f, 0f});
  1286. systemColors.put("moccasin",
  1287. new float[] {255/255f, 228/255f, 181/255f, 0f});
  1288. systemColors.put("navajowhite1",
  1289. new float[] {255/255f, 222/255f, 173/255f, 0f});
  1290. systemColors.put("navajowhite2",
  1291. new float[] {238/255f, 207/255f, 161/255f, 0f});
  1292. systemColors.put("navajowhite3",
  1293. new float[] {205/255f, 179/255f, 139/255f, 0f});
  1294. systemColors.put("navajowhite4",
  1295. new float[] {139/255f, 121/255f, 94/255f, 0f});
  1296. systemColors.put("navajowhite",
  1297. new float[] {255/255f, 222/255f, 173/255f, 0f});
  1298. systemColors.put("navyblue",
  1299. new float[] {0/255f, 0/255f, 128/255f, 0f});
  1300. systemColors.put("navy",
  1301. new float[] {0/255f, 0/255f, 128/255f, 0f});
  1302. systemColors.put("oldlace",
  1303. new float[] {253/255f, 245/255f, 230/255f, 0f});
  1304. systemColors.put("olivedrab1",
  1305. new float[] {192/255f, 255/255f, 62/255f, 0f});
  1306. systemColors.put("olivedrab2",
  1307. new float[] {179/255f, 238/255f, 58/255f, 0f});
  1308. systemColors.put("olivedrab3",
  1309. new float[] {154/255f, 205/255f, 50/255f, 0f});
  1310. systemColors.put("olivedrab4",
  1311. new float[] {105/255f, 139/255f, 34/255f, 0f});
  1312. systemColors.put("olivedrab",
  1313. new float[] {107/255f, 142/255f, 35/255f, 0f});
  1314. systemColors.put("orange1",
  1315. new float[] {255/255f, 165/255f, 0/255f, 0f});
  1316. systemColors.put("orange2",
  1317. new float[] {238/255f, 154/255f, 0/255f, 0f});
  1318. systemColors.put("orange3",
  1319. new float[] {205/255f, 133/255f, 0/255f, 0f});
  1320. systemColors.put("orange4",
  1321. new float[] {139/255f, 90/255f, 0/255f, 0f});
  1322. systemColors.put("orange",
  1323. new float[] {255/255f, 165/255f, 0/255f, 0f});
  1324. systemColors.put("orangered1",
  1325. new float[] {255/255f, 69/255f, 0/255f, 0f});
  1326. systemColors.put("orangered2",
  1327. new float[] {238/255f, 64/255f, 0/255f, 0f});
  1328. systemColors.put("orangered3",
  1329. new float[] {205/255f, 55/255f, 0/255f, 0f});
  1330. systemColors.put("orangered4",
  1331. new float[] {139/255f, 37/255f, 0/255f, 0f});
  1332. systemColors.put("orangered",
  1333. new float[] {255/255f, 69/255f, 0/255f, 0f});
  1334. systemColors.put("orchid1",
  1335. new float[] {255/255f, 131/255f, 250/255f, 0f});
  1336. systemColors.put("orchid2",
  1337. new float[] {238/255f, 122/255f, 233/255f, 0f});
  1338. systemColors.put("orchid3",
  1339. new float[] {205/255f, 105/255f, 201/255f, 0f});
  1340. systemColors.put("orchid4",
  1341. new float[] {139/255f, 71/255f, 137/255f, 0f});
  1342. systemColors.put("orchid",
  1343. new float[] {218/255f, 112/255f, 214/255f, 0f});
  1344. systemColors.put("palegoldenrod",
  1345. new float[] {238/255f, 232/255f, 170/255f, 0f});
  1346. systemColors.put("palegreen1",
  1347. new float[] {154/255f, 255/255f, 154/255f, 0f});
  1348. systemColors.put("palegreen2",
  1349. new float[] {144/255f, 238/255f, 144/255f, 0f});
  1350. systemColors.put("palegreen3",
  1351. new float[] {124/255f, 205/255f, 124/255f, 0f});
  1352. systemColors.put("palegreen4",
  1353. new float[] {84/255f, 139/255f, 84/255f, 0f});
  1354. systemColors.put("palegreen",
  1355. new float[] {152/255f, 251/255f, 152/255f, 0f});
  1356. systemColors.put("paleturquoise1",
  1357. new float[] {187/255f, 255/255f, 255/255f, 0f});
  1358. systemColors.put("paleturquoise2",
  1359. new float[] {174/255f, 238/255f, 238/255f, 0f});
  1360. systemColors.put("paleturquoise3",
  1361. new float[] {150/255f, 205/255f, 205/255f, 0f});
  1362. systemColors.put("paleturquoise4",
  1363. new float[] {102/255f, 139/255f, 139/255f, 0f});
  1364. systemColors.put("paleturquoise",
  1365. new float[] {175/255f, 238/255f, 238/255f, 0f});
  1366. systemColors.put("palevioletred1",
  1367. new float[] {255/255f, 130/255f, 171/255f, 0f});
  1368. systemColors.put("palevioletred2",
  1369. new float[] {238/255f, 121/255f, 159/255f, 0f});
  1370. systemColors.put("palevioletred3",
  1371. new float[] {205/255f, 104/255f, 137/255f, 0f});
  1372. systemColors.put("palevioletred4",
  1373. new float[] {139/255f, 71/255f, 93/255f, 0f});
  1374. systemColors.put("palevioletred",
  1375. new float[] {219/255f, 112/255f, 147/255f, 0f});
  1376. systemColors.put("papayawhip",
  1377. new float[] {255/255f, 239/255f, 213/255f, 0f});
  1378. systemColors.put("peachpuff1",
  1379. new float[] {255/255f, 218/255f, 185/255f, 0f});
  1380. systemColors.put("peachpuff2",
  1381. new float[] {238/255f, 203/255f, 173/255f, 0f});
  1382. systemColors.put("peachpuff3",
  1383. new float[] {205/255f, 175/255f, 149/255f, 0f});
  1384. systemColors.put("peachpuff4",
  1385. new float[] {139/255f, 119/255f, 101/255f, 0f});
  1386. systemColors.put("peachpuff",
  1387. new float[] {255/255f, 218/255f, 185/255f, 0f});
  1388. systemColors.put("peru",
  1389. new float[] {205/255f, 133/255f, 63/255f, 0f});
  1390. systemColors.put("pink1",
  1391. new float[] {255/255f, 181/255f, 197/255f, 0f});
  1392. systemColors.put("pink2",
  1393. new float[] {238/255f, 169/255f, 184/255f, 0f});
  1394. systemColors.put("pink3",
  1395. new float[] {205/255f, 145/255f, 158/255f, 0f});
  1396. systemColors.put("pink4",
  1397. new float[] {139/255f, 99/255f, 108/255f, 0f});
  1398. systemColors.put("pink",
  1399. new float[] {255/255f, 192/255f, 203/255f, 0f});
  1400. systemColors.put("plum1",
  1401. new float[] {255/255f, 187/255f, 255/255f, 0f});
  1402. systemColors.put("plum2",
  1403. new float[] {238/255f, 174/255f, 238/255f, 0f});
  1404. systemColors.put("plum3",
  1405. new float[] {205/255f, 150/255f, 205/255f, 0f});
  1406. systemColors.put("plum4",
  1407. new float[] {139/255f, 102/255f, 139/255f, 0f});
  1408. systemColors.put("plum",
  1409. new float[] {221/255f, 160/255f, 221/255f, 0f});
  1410. systemColors.put("powderblue",
  1411. new float[] {176/255f, 224/255f, 230/255f, 0f});
  1412. systemColors.put("purple1",
  1413. new float[] {155/255f, 48/255f, 255/255f, 0f});
  1414. systemColors.put("purple2",
  1415. new float[] {145/255f, 44/255f, 238/255f, 0f});
  1416. systemColors.put("purple3",
  1417. new float[] {125/255f, 38/255f, 205/255f, 0f});
  1418. systemColors.put("purple4",
  1419. new float[] {85/255f, 26/255f, 139/255f, 0f});
  1420. systemColors.put("purple",
  1421. new float[] {160/255f, 32/255f, 240/255f, 0f});
  1422. systemColors.put("red1",
  1423. new float[] {255/255f, 0/255f, 0/255f, 0f});
  1424. systemColors.put("red2",
  1425. new float[] {238/255f, 0/255f, 0/255f, 0f});
  1426. systemColors.put("red3",
  1427. new float[] {205/255f, 0/255f, 0/255f, 0f});
  1428. systemColors.put("red4",
  1429. new float[] {139/255f, 0/255f, 0/255f, 0f});
  1430. systemColors.put("red",
  1431. new float[] {255/255f, 0/255f, 0/255f, 0f});
  1432. systemColors.put("rosybrown1",
  1433. new float[] {255/255f, 193/255f, 193/255f, 0f});
  1434. systemColors.put("rosybrown2",
  1435. new float[] {238/255f, 180/255f, 180/255f, 0f});
  1436. systemColors.put("rosybrown3",
  1437. new float[] {205/255f, 155/255f, 155/255f, 0f});
  1438. systemColors.put("rosybrown4",
  1439. new float[] {139/255f, 105/255f, 105/255f, 0f});
  1440. systemColors.put("rosybrown",
  1441. new float[] {188/255f, 143/255f, 143/255f, 0f});
  1442. systemColors.put("royalblue1",
  1443. new float[] {72/255f, 118/255f, 255/255f, 0f});
  1444. systemColors.put("royalblue2",
  1445. new float[] {67/255f, 110/255f, 238/255f, 0f});
  1446. systemColors.put("royalblue3",
  1447. new float[] {58/255f, 95/255f, 205/255f, 0f});
  1448. systemColors.put("royalblue4",
  1449. new float[] {39/255f, 64/255f, 139/255f, 0f});
  1450. systemColors.put("royalblue",
  1451. new float[] {65/255f, 105/255f, 225/255f, 0f});
  1452. systemColors.put("saddlebrown",
  1453. new float[] {139/255f, 69/255f, 19/255f, 0f});
  1454. systemColors.put("salmon1",
  1455. new float[] {255/255f, 140/255f, 105/255f, 0f});
  1456. systemColors.put("salmon2",
  1457. new float[] {238/255f, 130/255f, 98/255f, 0f});
  1458. systemColors.put("salmon3",
  1459. new float[] {205/255f, 112/255f, 84/255f, 0f});
  1460. systemColors.put("salmon4",
  1461. new float[] {139/255f, 76/255f, 57/255f, 0f});
  1462. systemColors.put("salmon",
  1463. new float[] {250/255f, 128/255f, 114/255f, 0f});
  1464. systemColors.put("sandybrown",
  1465. new float[] {244/255f, 164/255f, 96/255f, 0f});
  1466. systemColors.put("seagreen1",
  1467. new float[] {84/255f, 255/255f, 159/255f, 0f});
  1468. systemColors.put("seagreen2",
  1469. new float[] {78/255f, 238/255f, 148/255f, 0f});
  1470. systemColors.put("seagreen3",
  1471. new float[] {67/255f, 205/255f, 128/255f, 0f});
  1472. systemColors.put("seagreen4",
  1473. new float[] {46/255f, 139/255f, 87/255f, 0f});
  1474. systemColors.put("seagreen",
  1475. new float[] {46/255f, 139/255f, 87/255f, 0f});
  1476. systemColors.put("seashell1",
  1477. new float[] {255/255f, 245/255f, 238/255f, 0f});
  1478. systemColors.put("seashell2",
  1479. new float[] {238/255f, 229/255f, 222/255f, 0f});
  1480. systemColors.put("seashell3",
  1481. new float[] {205/255f, 197/255f, 191/255f, 0f});
  1482. systemColors.put("seashell4",
  1483. new float[] {139/255f, 134/255f, 130/255f, 0f});
  1484. systemColors.put("seashell",
  1485. new float[] {255/255f, 245/255f, 238/255f, 0f});
  1486. systemColors.put("sienna1",
  1487. new float[] {255/255f, 130/255f, 71/255f, 0f});
  1488. systemColors.put("sienna2",
  1489. new float[] {238/255f, 121/255f, 66/255f, 0f});
  1490. systemColors.put("sienna3",
  1491. new float[] {205/255f, 104/255f, 57/255f, 0f});
  1492. systemColors.put("sienna4",
  1493. new float[] {139/255f, 71/255f, 38/255f, 0f});
  1494. systemColors.put("sienna",
  1495. new float[] {160/255f, 82/255f, 45/255f, 0f});
  1496. systemColors.put("skyblue1",
  1497. new float[] {135/255f, 206/255f, 255/255f, 0f});
  1498. systemColors.put("skyblue2",
  1499. new float[] {126/255f, 192/255f, 238/255f, 0f});
  1500. systemColors.put("skyblue3",
  1501. new float[] {108/255f, 166/255f, 205/255f, 0f});
  1502. systemColors.put("skyblue4",
  1503. new float[] {74/255f, 112/255f, 139/255f, 0f});
  1504. systemColors.put("skyblue",
  1505. new float[] {135/255f, 206/255f, 235/255f, 0f});
  1506. systemColors.put("slateblue1",
  1507. new float[] {131/255f, 111/255f, 255/255f, 0f});
  1508. systemColors.put("slateblue2",
  1509. new float[] {122/255f, 103/255f, 238/255f, 0f});
  1510. systemColors.put("slateblue3",
  1511. new float[] {105/255f, 89/255f, 205/255f, 0f});
  1512. systemColors.put("slateblue4",
  1513. new float[] {71/255f, 60/255f, 139/255f, 0f});
  1514. systemColors.put("slateblue",
  1515. new float[] {106/255f, 90/255f, 205/255f, 0f});
  1516. systemColors.put("slategray1",
  1517. new float[] {198/255f, 226/255f, 255/255f, 0f});
  1518. systemColors.put("slategray2",
  1519. new float[] {185/255f, 211/255f, 238/255f, 0f});
  1520. systemColors.put("slategray3",
  1521. new float[] {159/255f, 182/255f, 205/255f, 0f});
  1522. systemColors.put("slategray4",
  1523. new float[] {108/255f, 123/255f, 139/255f, 0f});
  1524. systemColors.put("slategray",
  1525. new float[] {112/255f, 128/255f, 144/255f, 0f});
  1526. systemColors.put("slategrey",
  1527. new float[] {112/255f, 128/255f, 144/255f, 0f});
  1528. systemColors.put("snow1",
  1529. new float[] {255/255f, 250/255f, 250/255f, 0f});
  1530. systemColors.put("snow2",
  1531. new float[] {238/255f, 233/255f, 233/255f, 0f});
  1532. systemColors.put("snow3",
  1533. new float[] {205/255f, 201/255f, 201/255f, 0f});
  1534. systemColors.put("snow4",
  1535. new float[] {139/255f, 137/255f, 137/255f, 0f});
  1536. systemColors.put("snow",
  1537. new float[] {255/255f, 250/255f, 250/255f, 0f});
  1538. systemColors.put("springgreen1",
  1539. new float[] {0/255f, 255/255f, 127/255f, 0f});
  1540. systemColors.put("springgreen2",
  1541. new float[] {0/255f, 238/255f, 118/255f, 0f});
  1542. systemColors.put("springgreen3",
  1543. new float[] {0/255f, 205/255f, 102/255f, 0f});
  1544. systemColors.put("springgreen4",
  1545. new float[] {0/255f, 139/255f, 69/255f, 0f});
  1546. systemColors.put("springgreen",
  1547. new float[] {0/255f, 255/255f, 127/255f, 0f});
  1548. systemColors.put("steelblue1",
  1549. new float[] {99/255f, 184/255f, 255/255f, 0f});
  1550. systemColors.put("steelblue2",
  1551. new float[] {92/255f, 172/255f, 238/255f, 0f});
  1552. systemColors.put("steelblue3",
  1553. new float[] {79/255f, 148/255f, 205/255f, 0f});
  1554. systemColors.put("steelblue4",
  1555. new float[] {54/255f, 100/255f, 139/255f, 0f});
  1556. systemColors.put("steelblue",
  1557. new float[] {70/255f, 130/255f, 180/255f, 0f});
  1558. systemColors.put("tan1",
  1559. new float[] {255/255f, 165/255f, 79/255f, 0f});
  1560. systemColors.put("tan2",
  1561. new float[] {238/255f, 154/255f, 73/255f, 0f});
  1562. systemColors.put("tan3",
  1563. new float[] {205/255f, 133/255f, 63/255f, 0f});
  1564. systemColors.put("tan4",
  1565. new float[] {139/255f, 90/255f, 43/255f, 0f});
  1566. systemColors.put("tan",
  1567. new float[] {210/255f, 180/255f, 140/255f, 0f});
  1568. systemColors.put("thistle1",
  1569. new float[] {255/255f, 225/255f, 255/255f, 0f});
  1570. systemColors.put("thistle2",
  1571. new float[] {238/255f, 210/255f, 238/255f, 0f});
  1572. systemColors.put("thistle3",
  1573. new float[] {205/255f, 181/255f, 205/255f, 0f});
  1574. systemColors.put("thistle4",
  1575. new float[] {139/255f, 123/255f, 139/255f, 0f});
  1576. systemColors.put("thistle",
  1577. new float[] {216/255f, 191/255f, 216/255f, 0f});
  1578. systemColors.put("tomato1",
  1579. new float[] {255/255f, 99/255f, 71/255f, 0f});
  1580. systemColors.put("tomato2",
  1581. new float[] {238/255f, 92/255f, 66/255f, 0f});
  1582. systemColors.put("tomato3",
  1583. new float[] {205/255f, 79/255f, 57/255f, 0f});
  1584. systemColors.put("tomato4",
  1585. new float[] {139/255f, 54/255f, 38/255f, 0f});
  1586. systemColors.put("tomato",
  1587. new float[] {255/255f, 99/255f, 71/255f, 0f});
  1588. systemColors.put("turquoise1",
  1589. new float[] {0/255f, 245/255f, 255/255f, 0f});
  1590. systemColors.put("turquoise2",
  1591. new float[] {0/255f, 229/255f, 238/255f, 0f});
  1592. systemColors.put("turquoise3",
  1593. new float[] {0/255f, 197/255f, 205/255f, 0f});
  1594. systemColors.put("turquoise4",
  1595. new float[] {0/255f, 134/255f, 139/255f, 0f});
  1596. systemColors.put("turquoise",
  1597. new float[] {64/255f, 224/255f, 208/255f, 0f});
  1598. systemColors.put("violet",
  1599. new float[] {238/255f, 130/255f, 238/255f, 0f});
  1600. systemColors.put("violetred1",
  1601. new float[] {255/255f, 62/255f, 150/255f, 0f});
  1602. systemColors.put("violetred2",
  1603. new float[] {238/255f, 58/255f, 140/255f, 0f});
  1604. systemColors.put("violetred3",
  1605. new float[] {205/255f, 50/255f, 120/255f, 0f});
  1606. systemColors.put("violetred4",
  1607. new float[] {139/255f, 34/255f, 82/255f, 0f});
  1608. systemColors.put("violetred",
  1609. new float[] {208/255f, 32/255f, 144/255f, 0f});
  1610. systemColors.put("wheat1",
  1611. new float[] {255/255f, 231/255f, 186/255f, 0f});
  1612. systemColors.put("wheat2",
  1613. new float[] {238/255f, 216/255f, 174/255f, 0f});
  1614. systemColors.put("wheat3",
  1615. new float[] {205/255f, 186/255f, 150/255f, 0f});
  1616. systemColors.put("wheat4",
  1617. new float[] {139/255f, 126/255f, 102/255f, 0f});
  1618. systemColors.put("wheat",
  1619. new float[] {245/255f, 222/255f, 179/255f, 0f});
  1620. systemColors.put("white",
  1621. new float[] {255/255f, 255/255f, 255/255f, 0f});
  1622. systemColors.put("whitesmoke",
  1623. new float[] {245/255f, 245/255f, 245/255f, 0f});
  1624. systemColors.put("yellow1",
  1625. new float[] {255/255f, 255/255f, 0/255f, 0f});
  1626. systemColors.put("yellow2",
  1627. new float[] {238/255f, 238/255f, 0/255f, 0f});
  1628. systemColors.put("yellow3",
  1629. new float[] {205/255f, 205/255f, 0/255f, 0f});
  1630. systemColors.put("yellow4",
  1631. new float[] {139/255f, 139/255f, 0/255f, 0f});
  1632. systemColors.put("yellowgreen",
  1633. new float[] {154/255f, 205/255f, 50/255f, 0f});
  1634. systemColors.put("yellow",
  1635. new float[] {255/255f, 255/255f, 0/255f, 0f});
  1636. }
  1637. }