Python Color Constants Module

See Python: Tips and Tricks for similar articles.

For Pygame and other graphics work, it’s helpful to have color constants that hold the color RGB values. I couldn’t find anything like this, so I created a color_constants module that:

  1. Contains constants for 551 named colors* (e.g, as named tuples:
    Color = namedtuple('RGB','red, green, blue')
  2. Extends the Color class to include a method for getting the hex formatted color:
    class RGB(Color):
        def hex_format(self):
            return '#{:02X}{:02X}{:02X}'.format(self.red,self.green,self.blue)
  3. Stores these constants in an OrderedDict.

The colors are shown in the table below and the full code is shown below that.

Color NameHex ValueRGB ValueSample
aliceblue#F0F8FFRGB(240,248,255) 
antiquewhite#FAEBD7RGB(250,235,215) 
antiquewhite1#FFEFDBRGB(255,239,219) 
antiquewhite2#EEDFCCRGB(238,223,204) 
antiquewhite3#CDC0B0RGB(205,192,176) 
antiquewhite4#8B8378RGB(139,131,120) 
aqua#00FFFFRGB(0,255,255) 
aquamarine1#7FFFD4RGB(127,255,212) 
aquamarine2#76EEC6RGB(118,238,198) 
aquamarine3#66CDAARGB(102,205,170) 
aquamarine4#458B74RGB(69,139,116) 
azure1#F0FFFFRGB(240,255,255) 
azure2#E0EEEERGB(224,238,238) 
azure3#C1CDCDRGB(193,205,205) 
azure4#838B8BRGB(131,139,139) 
banana#E3CF57RGB(227,207,87) 
beige#F5F5DCRGB(245,245,220) 
bisque1#FFE4C4RGB(255,228,196) 
bisque2#EED5B7RGB(238,213,183) 
bisque3#CDB79ERGB(205,183,158) 
bisque4#8B7D6BRGB(139,125,107) 
black#000000RGB(0,0,0) 
blanchedalmond#FFEBCDRGB(255,235,205) 
blue#0000FFRGB(0,0,255) 
blue2#0000EERGB(0,0,238) 
blue3#0000CDRGB(0,0,205) 
blue4#00008BRGB(0,0,139) 
blueviolet#8A2BE2RGB(138,43,226) 
brick#9C661FRGB(156,102,31) 
brown#A52A2ARGB(165,42,42) 
brown1#FF4040RGB(255,64,64) 
brown2#EE3B3BRGB(238,59,59) 
brown3#CD3333RGB(205,51,51) 
brown4#8B2323RGB(139,35,35) 
burlywood#DEB887RGB(222,184,135) 
burlywood1#FFD39BRGB(255,211,155) 
burlywood2#EEC591RGB(238,197,145) 
burlywood3#CDAA7DRGB(205,170,125) 
burlywood4#8B7355RGB(139,115,85) 
burntsienna#8A360FRGB(138,54,15) 
burntumber#8A3324RGB(138,51,36) 
cadetblue#5F9EA0RGB(95,158,160) 
cadetblue1#98F5FFRGB(152,245,255) 
cadetblue2#8EE5EERGB(142,229,238) 
cadetblue3#7AC5CDRGB(122,197,205) 
cadetblue4#53868BRGB(83,134,139) 
cadmiumorange#FF6103RGB(255,97,3) 
cadmiumyellow#FF9912RGB(255,153,18) 
carrot#ED9121RGB(237,145,33) 
chartreuse1#7FFF00RGB(127,255,0) 
chartreuse2#76EE00RGB(118,238,0) 
chartreuse3#66CD00RGB(102,205,0) 
chartreuse4#458B00RGB(69,139,0) 
chocolate#D2691ERGB(210,105,30) 
chocolate1#FF7F24RGB(255,127,36) 
chocolate2#EE7621RGB(238,118,33) 
chocolate3#CD661DRGB(205,102,29) 
chocolate4#8B4513RGB(139,69,19) 
cobalt#3D59ABRGB(61,89,171) 
cobaltgreen#3D9140RGB(61,145,64) 
coldgrey#808A87RGB(128,138,135) 
coral#FF7F50RGB(255,127,80) 
coral1#FF7256RGB(255,114,86) 
coral2#EE6A50RGB(238,106,80) 
coral3#CD5B45RGB(205,91,69) 
coral4#8B3E2FRGB(139,62,47) 
cornflowerblue#6495EDRGB(100,149,237) 
cornsilk1#FFF8DCRGB(255,248,220) 
cornsilk2#EEE8CDRGB(238,232,205) 
cornsilk3#CDC8B1RGB(205,200,177) 
cornsilk4#8B8878RGB(139,136,120) 
crimson#DC143CRGB(220,20,60) 
cyan2#00EEEERGB(0,238,238) 
cyan3#00CDCDRGB(0,205,205) 
cyan4#008B8BRGB(0,139,139) 
darkgoldenrod#B8860BRGB(184,134,11) 
darkgoldenrod1#FFB90FRGB(255,185,15) 
darkgoldenrod2#EEAD0ERGB(238,173,14) 
darkgoldenrod3#CD950CRGB(205,149,12) 
darkgoldenrod4#8B6508RGB(139,101,8) 
darkgray#A9A9A9RGB(169,169,169) 
darkgreen#006400RGB(0,100,0) 
darkkhaki#BDB76BRGB(189,183,107) 
darkolivegreen#556B2FRGB(85,107,47) 
darkolivegreen1#CAFF70RGB(202,255,112) 
darkolivegreen2#BCEE68RGB(188,238,104) 
darkolivegreen3#A2CD5ARGB(162,205,90) 
darkolivegreen4#6E8B3DRGB(110,139,61) 
darkorange#FF8C00RGB(255,140,0) 
darkorange1#FF7F00RGB(255,127,0) 
darkorange2#EE7600RGB(238,118,0) 
darkorange3#CD6600RGB(205,102,0) 
darkorange4#8B4500RGB(139,69,0) 
darkorchid#9932CCRGB(153,50,204) 
darkorchid1#BF3EFFRGB(191,62,255) 
darkorchid2#B23AEERGB(178,58,238) 
darkorchid3#9A32CDRGB(154,50,205) 
darkorchid4#68228BRGB(104,34,139) 
darksalmon#E9967ARGB(233,150,122) 
darkseagreen#8FBC8FRGB(143,188,143) 
darkseagreen1#C1FFC1RGB(193,255,193) 
darkseagreen2#B4EEB4RGB(180,238,180) 
darkseagreen3#9BCD9BRGB(155,205,155) 
darkseagreen4#698B69RGB(105,139,105) 
darkslateblue#483D8BRGB(72,61,139) 
darkslategray#2F4F4FRGB(47,79,79) 
darkslategray1#97FFFFRGB(151,255,255) 
darkslategray2#8DEEEERGB(141,238,238) 
darkslategray3#79CDCDRGB(121,205,205) 
darkslategray4#528B8BRGB(82,139,139) 
darkturquoise#00CED1RGB(0,206,209) 
darkviolet#9400D3RGB(148,0,211) 
deeppink1#FF1493RGB(255,20,147) 
deeppink2#EE1289RGB(238,18,137) 
deeppink3#CD1076RGB(205,16,118) 
deeppink4#8B0A50RGB(139,10,80) 
deepskyblue1#00BFFFRGB(0,191,255) 
deepskyblue2#00B2EERGB(0,178,238) 
deepskyblue3#009ACDRGB(0,154,205) 
deepskyblue4#00688BRGB(0,104,139) 
dimgray#696969RGB(105,105,105) 
dodgerblue1#1E90FFRGB(30,144,255) 
dodgerblue2#1C86EERGB(28,134,238) 
dodgerblue3#1874CDRGB(24,116,205) 
dodgerblue4#104E8BRGB(16,78,139) 
eggshell#FCE6C9RGB(252,230,201) 
emeraldgreen#00C957RGB(0,201,87) 
firebrick#B22222RGB(178,34,34) 
firebrick1#FF3030RGB(255,48,48) 
firebrick2#EE2C2CRGB(238,44,44) 
firebrick3#CD2626RGB(205,38,38) 
firebrick4#8B1A1ARGB(139,26,26) 
flesh#FF7D40RGB(255,125,64) 
floralwhite#FFFAF0RGB(255,250,240) 
forestgreen#228B22RGB(34,139,34) 
gainsboro#DCDCDCRGB(220,220,220) 
ghostwhite#F8F8FFRGB(248,248,255) 
gold1#FFD700RGB(255,215,0) 
gold2#EEC900RGB(238,201,0) 
gold3#CDAD00RGB(205,173,0) 
gold4#8B7500RGB(139,117,0) 
goldenrod#DAA520RGB(218,165,32) 
goldenrod1#FFC125RGB(255,193,37) 
goldenrod2#EEB422RGB(238,180,34) 
goldenrod3#CD9B1DRGB(205,155,29) 
goldenrod4#8B6914RGB(139,105,20) 
gray#808080RGB(128,128,128) 
gray1#030303RGB(3,3,3) 
gray10#1A1A1ARGB(26,26,26) 
gray11#1C1C1CRGB(28,28,28) 
gray12#1F1F1FRGB(31,31,31) 
gray13#212121RGB(33,33,33) 
gray14#242424RGB(36,36,36) 
gray15#262626RGB(38,38,38) 
gray16#292929RGB(41,41,41) 
gray17#2B2B2BRGB(43,43,43) 
gray18#2E2E2ERGB(46,46,46) 
gray19#303030RGB(48,48,48) 
gray2#050505RGB(5,5,5) 
gray20#333333RGB(51,51,51) 
gray21#363636RGB(54,54,54) 
gray22#383838RGB(56,56,56) 
gray23#3B3B3BRGB(59,59,59) 
gray24#3D3D3DRGB(61,61,61) 
gray25#404040RGB(64,64,64) 
gray26#424242RGB(66,66,66) 
gray27#454545RGB(69,69,69) 
gray28#474747RGB(71,71,71) 
gray29#4A4A4ARGB(74,74,74) 
gray3#080808RGB(8,8,8) 
gray30#4D4D4DRGB(77,77,77) 
gray31#4F4F4FRGB(79,79,79) 
gray32#525252RGB(82,82,82) 
gray33#545454RGB(84,84,84) 
gray34#575757RGB(87,87,87) 
gray35#595959RGB(89,89,89) 
gray36#5C5C5CRGB(92,92,92) 
gray37#5E5E5ERGB(94,94,94) 
gray38#616161RGB(97,97,97) 
gray39#636363RGB(99,99,99) 
gray4#0A0A0ARGB(10,10,10) 
gray40#666666RGB(102,102,102) 
gray42#6B6B6BRGB(107,107,107) 
gray43#6E6E6ERGB(110,110,110) 
gray44#707070RGB(112,112,112) 
gray45#737373RGB(115,115,115) 
gray46#757575RGB(117,117,117) 
gray47#787878RGB(120,120,120) 
gray48#7A7A7ARGB(122,122,122) 
gray49#7D7D7DRGB(125,125,125) 
gray5#0D0D0DRGB(13,13,13) 
gray50#7F7F7FRGB(127,127,127) 
gray51#828282RGB(130,130,130) 
gray52#858585RGB(133,133,133) 
gray53#878787RGB(135,135,135) 
gray54#8A8A8ARGB(138,138,138) 
gray55#8C8C8CRGB(140,140,140) 
gray56#8F8F8FRGB(143,143,143) 
gray57#919191RGB(145,145,145) 
gray58#949494RGB(148,148,148) 
gray59#969696RGB(150,150,150) 
gray6#0F0F0FRGB(15,15,15) 
gray60#999999RGB(153,153,153) 
gray61#9C9C9CRGB(156,156,156) 
gray62#9E9E9ERGB(158,158,158) 
gray63#A1A1A1RGB(161,161,161) 
gray64#A3A3A3RGB(163,163,163) 
gray65#A6A6A6RGB(166,166,166) 
gray66#A8A8A8RGB(168,168,168) 
gray67#ABABABRGB(171,171,171) 
gray68#ADADADRGB(173,173,173) 
gray69#B0B0B0RGB(176,176,176) 
gray7#121212RGB(18,18,18) 
gray70#B3B3B3RGB(179,179,179) 
gray71#B5B5B5RGB(181,181,181) 
gray72#B8B8B8RGB(184,184,184) 
gray73#BABABARGB(186,186,186) 
gray74#BDBDBDRGB(189,189,189) 
gray75#BFBFBFRGB(191,191,191) 
gray76#C2C2C2RGB(194,194,194) 
gray77#C4C4C4RGB(196,196,196) 
gray78#C7C7C7RGB(199,199,199) 
gray79#C9C9C9RGB(201,201,201) 
gray8#141414RGB(20,20,20) 
gray80#CCCCCCRGB(204,204,204) 
gray81#CFCFCFRGB(207,207,207) 
gray82#D1D1D1RGB(209,209,209) 
gray83#D4D4D4RGB(212,212,212) 
gray84#D6D6D6RGB(214,214,214) 
gray85#D9D9D9RGB(217,217,217) 
gray86#DBDBDBRGB(219,219,219) 
gray87#DEDEDERGB(222,222,222) 
gray88#E0E0E0RGB(224,224,224) 
gray89#E3E3E3RGB(227,227,227) 
gray9#171717RGB(23,23,23) 
gray90#E5E5E5RGB(229,229,229) 
gray91#E8E8E8RGB(232,232,232) 
gray92#EBEBEBRGB(235,235,235) 
gray93#EDEDEDRGB(237,237,237) 
gray94#F0F0F0RGB(240,240,240) 
gray95#F2F2F2RGB(242,242,242) 
gray97#F7F7F7RGB(247,247,247) 
gray98#FAFAFARGB(250,250,250) 
gray99#FCFCFCRGB(252,252,252) 
green#008000RGB(0,128,0) 
green1#00FF00RGB(0,255,0) 
green2#00EE00RGB(0,238,0) 
green3#00CD00RGB(0,205,0) 
green4#008B00RGB(0,139,0) 
greenyellow#ADFF2FRGB(173,255,47) 
honeydew1#F0FFF0RGB(240,255,240) 
honeydew2#E0EEE0RGB(224,238,224) 
honeydew3#C1CDC1RGB(193,205,193) 
honeydew4#838B83RGB(131,139,131) 
hotpink#FF69B4RGB(255,105,180) 
hotpink1#FF6EB4RGB(255,110,180) 
hotpink2#EE6AA7RGB(238,106,167) 
hotpink3#CD6090RGB(205,96,144) 
hotpink4#8B3A62RGB(139,58,98) 
indianred#CD5C5CRGB(205,92,92) 
indianred1#FF6A6ARGB(255,106,106) 
indianred2#EE6363RGB(238,99,99) 
indianred3#CD5555RGB(205,85,85) 
indianred4#8B3A3ARGB(139,58,58) 
indigo#4B0082RGB(75,0,130) 
ivory1#FFFFF0RGB(255,255,240) 
ivory2#EEEEE0RGB(238,238,224) 
ivory3#CDCDC1RGB(205,205,193) 
ivory4#8B8B83RGB(139,139,131) 
ivoryblack#292421RGB(41,36,33) 
khaki#F0E68CRGB(240,230,140) 
khaki1#FFF68FRGB(255,246,143) 
khaki2#EEE685RGB(238,230,133) 
khaki3#CDC673RGB(205,198,115) 
khaki4#8B864ERGB(139,134,78) 
lavender#E6E6FARGB(230,230,250) 
lavenderblush1#FFF0F5RGB(255,240,245) 
lavenderblush2#EEE0E5RGB(238,224,229) 
lavenderblush3#CDC1C5RGB(205,193,197) 
lavenderblush4#8B8386RGB(139,131,134) 
lawngreen#7CFC00RGB(124,252,0) 
lemonchiffon1#FFFACDRGB(255,250,205) 
lemonchiffon2#EEE9BFRGB(238,233,191) 
lemonchiffon3#CDC9A5RGB(205,201,165) 
lemonchiffon4#8B8970RGB(139,137,112) 
lightblue#ADD8E6RGB(173,216,230) 
lightblue1#BFEFFFRGB(191,239,255) 
lightblue2#B2DFEERGB(178,223,238) 
lightblue3#9AC0CDRGB(154,192,205) 
lightblue4#68838BRGB(104,131,139) 
lightcoral#F08080RGB(240,128,128) 
lightcyan1#E0FFFFRGB(224,255,255) 
lightcyan2#D1EEEERGB(209,238,238) 
lightcyan3#B4CDCDRGB(180,205,205) 
lightcyan4#7A8B8BRGB(122,139,139) 
lightgoldenrod1#FFEC8BRGB(255,236,139) 
lightgoldenrod2#EEDC82RGB(238,220,130) 
lightgoldenrod3#CDBE70RGB(205,190,112) 
lightgoldenrod4#8B814CRGB(139,129,76) 
lightgoldenrodyellow#FAFAD2RGB(250,250,210) 
lightgrey#D3D3D3RGB(211,211,211) 
lightpink#FFB6C1RGB(255,182,193) 
lightpink1#FFAEB9RGB(255,174,185) 
lightpink2#EEA2ADRGB(238,162,173) 
lightpink3#CD8C95RGB(205,140,149) 
lightpink4#8B5F65RGB(139,95,101) 
lightsalmon1#FFA07ARGB(255,160,122) 
lightsalmon2#EE9572RGB(238,149,114) 
lightsalmon3#CD8162RGB(205,129,98) 
lightsalmon4#8B5742RGB(139,87,66) 
lightseagreen#20B2AARGB(32,178,170) 
lightskyblue#87CEFARGB(135,206,250) 
lightskyblue1#B0E2FFRGB(176,226,255) 
lightskyblue2#A4D3EERGB(164,211,238) 
lightskyblue3#8DB6CDRGB(141,182,205) 
lightskyblue4#607B8BRGB(96,123,139) 
lightslateblue#8470FFRGB(132,112,255) 
lightslategray#778899RGB(119,136,153) 
lightsteelblue#B0C4DERGB(176,196,222) 
lightsteelblue1#CAE1FFRGB(202,225,255) 
lightsteelblue2#BCD2EERGB(188,210,238) 
lightsteelblue3#A2B5CDRGB(162,181,205) 
lightsteelblue4#6E7B8BRGB(110,123,139) 
lightyellow1#FFFFE0RGB(255,255,224) 
lightyellow2#EEEED1RGB(238,238,209) 
lightyellow3#CDCDB4RGB(205,205,180) 
lightyellow4#8B8B7ARGB(139,139,122) 
limegreen#32CD32RGB(50,205,50) 
linen#FAF0E6RGB(250,240,230) 
magenta#FF00FFRGB(255,0,255) 
magenta2#EE00EERGB(238,0,238) 
magenta3#CD00CDRGB(205,0,205) 
magenta4#8B008BRGB(139,0,139) 
manganeseblue#03A89ERGB(3,168,158) 
maroon#800000RGB(128,0,0) 
maroon1#FF34B3RGB(255,52,179) 
maroon2#EE30A7RGB(238,48,167) 
maroon3#CD2990RGB(205,41,144) 
maroon4#8B1C62RGB(139,28,98) 
mediumorchid#BA55D3RGB(186,85,211) 
mediumorchid1#E066FFRGB(224,102,255) 
mediumorchid2#D15FEERGB(209,95,238) 
mediumorchid3#B452CDRGB(180,82,205) 
mediumorchid4#7A378BRGB(122,55,139) 
mediumpurple#9370DBRGB(147,112,219) 
mediumpurple1#AB82FFRGB(171,130,255) 
mediumpurple2#9F79EERGB(159,121,238) 
mediumpurple3#8968CDRGB(137,104,205) 
mediumpurple4#5D478BRGB(93,71,139) 
mediumseagreen#3CB371RGB(60,179,113) 
mediumslateblue#7B68EERGB(123,104,238) 
mediumspringgreen#00FA9ARGB(0,250,154) 
mediumturquoise#48D1CCRGB(72,209,204) 
mediumvioletred#C71585RGB(199,21,133) 
melon#E3A869RGB(227,168,105) 
midnightblue#191970RGB(25,25,112) 
mint#BDFCC9RGB(189,252,201) 
mintcream#F5FFFARGB(245,255,250) 
mistyrose1#FFE4E1RGB(255,228,225) 
mistyrose2#EED5D2RGB(238,213,210) 
mistyrose3#CDB7B5RGB(205,183,181) 
mistyrose4#8B7D7BRGB(139,125,123) 
moccasin#FFE4B5RGB(255,228,181) 
navajowhite1#FFDEADRGB(255,222,173) 
navajowhite2#EECFA1RGB(238,207,161) 
navajowhite3#CDB38BRGB(205,179,139) 
navajowhite4#8B795ERGB(139,121,94) 
navy#000080RGB(0,0,128) 
oldlace#FDF5E6RGB(253,245,230) 
olive#808000RGB(128,128,0) 
olivedrab#6B8E23RGB(107,142,35) 
olivedrab1#C0FF3ERGB(192,255,62) 
olivedrab2#B3EE3ARGB(179,238,58) 
olivedrab3#9ACD32RGB(154,205,50) 
olivedrab4#698B22RGB(105,139,34) 
orange#FF8000RGB(255,128,0) 
orange1#FFA500RGB(255,165,0) 
orange2#EE9A00RGB(238,154,0) 
orange3#CD8500RGB(205,133,0) 
orange4#8B5A00RGB(139,90,0) 
orangered1#FF4500RGB(255,69,0) 
orangered2#EE4000RGB(238,64,0) 
orangered3#CD3700RGB(205,55,0) 
orangered4#8B2500RGB(139,37,0) 
orchid#DA70D6RGB(218,112,214) 
orchid1#FF83FARGB(255,131,250) 
orchid2#EE7AE9RGB(238,122,233) 
orchid3#CD69C9RGB(205,105,201) 
orchid4#8B4789RGB(139,71,137) 
palegoldenrod#EEE8AARGB(238,232,170) 
palegreen#98FB98RGB(152,251,152) 
palegreen1#9AFF9ARGB(154,255,154) 
palegreen2#90EE90RGB(144,238,144) 
palegreen3#7CCD7CRGB(124,205,124) 
palegreen4#548B54RGB(84,139,84) 
paleturquoise1#BBFFFFRGB(187,255,255) 
paleturquoise2#AEEEEERGB(174,238,238) 
paleturquoise3#96CDCDRGB(150,205,205) 
paleturquoise4#668B8BRGB(102,139,139) 
palevioletred#DB7093RGB(219,112,147) 
palevioletred1#FF82ABRGB(255,130,171) 
palevioletred2#EE799FRGB(238,121,159) 
palevioletred3#CD6889RGB(205,104,137) 
palevioletred4#8B475DRGB(139,71,93) 
papayawhip#FFEFD5RGB(255,239,213) 
peachpuff1#FFDAB9RGB(255,218,185) 
peachpuff2#EECBADRGB(238,203,173) 
peachpuff3#CDAF95RGB(205,175,149) 
peachpuff4#8B7765RGB(139,119,101) 
peacock#33A1C9RGB(51,161,201) 
pink#FFC0CBRGB(255,192,203) 
pink1#FFB5C5RGB(255,181,197) 
pink2#EEA9B8RGB(238,169,184) 
pink3#CD919ERGB(205,145,158) 
pink4#8B636CRGB(139,99,108) 
plum#DDA0DDRGB(221,160,221) 
plum1#FFBBFFRGB(255,187,255) 
plum2#EEAEEERGB(238,174,238) 
plum3#CD96CDRGB(205,150,205) 
plum4#8B668BRGB(139,102,139) 
powderblue#B0E0E6RGB(176,224,230) 
purple#800080RGB(128,0,128) 
purple1#9B30FFRGB(155,48,255) 
purple2#912CEERGB(145,44,238) 
purple3#7D26CDRGB(125,38,205) 
purple4#551A8BRGB(85,26,139) 
raspberry#872657RGB(135,38,87) 
rawsienna#C76114RGB(199,97,20) 
red1#FF0000RGB(255,0,0) 
red2#EE0000RGB(238,0,0) 
red3#CD0000RGB(205,0,0) 
red4#8B0000RGB(139,0,0) 
rosybrown#BC8F8FRGB(188,143,143) 
rosybrown1#FFC1C1RGB(255,193,193) 
rosybrown2#EEB4B4RGB(238,180,180) 
rosybrown3#CD9B9BRGB(205,155,155) 
rosybrown4#8B6969RGB(139,105,105) 
royalblue#4169E1RGB(65,105,225) 
royalblue1#4876FFRGB(72,118,255) 
royalblue2#436EEERGB(67,110,238) 
royalblue3#3A5FCDRGB(58,95,205) 
royalblue4#27408BRGB(39,64,139) 
salmon#FA8072RGB(250,128,114) 
salmon1#FF8C69RGB(255,140,105) 
salmon2#EE8262RGB(238,130,98) 
salmon3#CD7054RGB(205,112,84) 
salmon4#8B4C39RGB(139,76,57) 
sandybrown#F4A460RGB(244,164,96) 
sapgreen#308014RGB(48,128,20) 
seagreen1#54FF9FRGB(84,255,159) 
seagreen2#4EEE94RGB(78,238,148) 
seagreen3#43CD80RGB(67,205,128) 
seagreen4#2E8B57RGB(46,139,87) 
seashell1#FFF5EERGB(255,245,238) 
seashell2#EEE5DERGB(238,229,222) 
seashell3#CDC5BFRGB(205,197,191) 
seashell4#8B8682RGB(139,134,130) 
sepia#5E2612RGB(94,38,18) 
sgibeet#8E388ERGB(142,56,142) 
sgibrightgray#C5C1AARGB(197,193,170) 
sgichartreuse#71C671RGB(113,198,113) 
sgidarkgray#555555RGB(85,85,85) 
sgigray12#1E1E1ERGB(30,30,30) 
sgigray16#282828RGB(40,40,40) 
sgigray32#515151RGB(81,81,81) 
sgigray36#5B5B5BRGB(91,91,91) 
sgigray52#848484RGB(132,132,132) 
sgigray56#8E8E8ERGB(142,142,142) 
sgigray72#B7B7B7RGB(183,183,183) 
sgigray76#C1C1C1RGB(193,193,193) 
sgigray92#EAEAEARGB(234,234,234) 
sgigray96#F4F4F4RGB(244,244,244) 
sgilightblue#7D9EC0RGB(125,158,192) 
sgilightgray#AAAAAARGB(170,170,170) 
sgiolivedrab#8E8E38RGB(142,142,56) 
sgisalmon#C67171RGB(198,113,113) 
sgislateblue#7171C6RGB(113,113,198) 
sgiteal#388E8ERGB(56,142,142) 
sienna#A0522DRGB(160,82,45) 
sienna1#FF8247RGB(255,130,71) 
sienna2#EE7942RGB(238,121,66) 
sienna3#CD6839RGB(205,104,57) 
sienna4#8B4726RGB(139,71,38) 
silver#C0C0C0RGB(192,192,192) 
skyblue#87CEEBRGB(135,206,235) 
skyblue1#87CEFFRGB(135,206,255) 
skyblue2#7EC0EERGB(126,192,238) 
skyblue3#6CA6CDRGB(108,166,205) 
skyblue4#4A708BRGB(74,112,139) 
slateblue#6A5ACDRGB(106,90,205) 
slateblue1#836FFFRGB(131,111,255) 
slateblue2#7A67EERGB(122,103,238) 
slateblue3#6959CDRGB(105,89,205) 
slateblue4#473C8BRGB(71,60,139) 
slategray#708090RGB(112,128,144) 
slategray1#C6E2FFRGB(198,226,255) 
slategray2#B9D3EERGB(185,211,238) 
slategray3#9FB6CDRGB(159,182,205) 
slategray4#6C7B8BRGB(108,123,139) 
snow1#FFFAFARGB(255,250,250) 
snow2#EEE9E9RGB(238,233,233) 
snow3#CDC9C9RGB(205,201,201) 
snow4#8B8989RGB(139,137,137) 
springgreen#00FF7FRGB(0,255,127) 
springgreen1#00EE76RGB(0,238,118) 
springgreen2#00CD66RGB(0,205,102) 
springgreen3#008B45RGB(0,139,69) 
steelblue#4682B4RGB(70,130,180) 
steelblue1#63B8FFRGB(99,184,255) 
steelblue2#5CACEERGB(92,172,238) 
steelblue3#4F94CDRGB(79,148,205) 
steelblue4#36648BRGB(54,100,139) 
tan#D2B48CRGB(210,180,140) 
tan1#FFA54FRGB(255,165,79) 
tan2#EE9A49RGB(238,154,73) 
tan3#CD853FRGB(205,133,63) 
tan4#8B5A2BRGB(139,90,43) 
teal#008080RGB(0,128,128) 
thistle#D8BFD8RGB(216,191,216) 
thistle1#FFE1FFRGB(255,225,255) 
thistle2#EED2EERGB(238,210,238) 
thistle3#CDB5CDRGB(205,181,205) 
thistle4#8B7B8BRGB(139,123,139) 
tomato1#FF6347RGB(255,99,71) 
tomato2#EE5C42RGB(238,92,66) 
tomato3#CD4F39RGB(205,79,57) 
tomato4#8B3626RGB(139,54,38) 
turquoise#40E0D0RGB(64,224,208) 
turquoise1#00F5FFRGB(0,245,255) 
turquoise2#00E5EERGB(0,229,238) 
turquoise3#00C5CDRGB(0,197,205) 
turquoise4#00868BRGB(0,134,139) 
turquoiseblue#00C78CRGB(0,199,140) 
violet#EE82EERGB(238,130,238) 
violetred#D02090RGB(208,32,144) 
violetred1#FF3E96RGB(255,62,150) 
violetred2#EE3A8CRGB(238,58,140) 
violetred3#CD3278RGB(205,50,120) 
violetred4#8B2252RGB(139,34,82) 
warmgrey#808069RGB(128,128,105) 
wheat#F5DEB3RGB(245,222,179) 
wheat1#FFE7BARGB(255,231,186) 
wheat2#EED8AERGB(238,216,174) 
wheat3#CDBA96RGB(205,186,150) 
wheat4#8B7E66RGB(139,126,102) 
white#FFFFFFRGB(255,255,255) 
whitesmoke#F5F5F5RGB(245,245,245) 
yellow1#FFFF00RGB(255,255,0) 
yellow2#EEEE00RGB(238,238,0) 
yellow3#CDCD00RGB(205,205,0) 
yellow4#8B8B00RGB(139,139,0) 

color_constants.py

	"""Provide RGB color constants and a colors dictionary with
	elements formatted: colors[colorname] = CONSTANT"""
	from collections import namedtuple, OrderedDict
	Color = namedtuple('RGB','red, green, blue')
	colors = {} #dict of colors
	class RGB(Color):
	    def hex_format(self):
		'''Returns color in hex format'''
		return '#{:02X}{:02X}{:02X}'.format(self.red,self.green,self.blue)
	#Color Contants
	ALICEBLUE = RGB(240, 248, 255)
	ANTIQUEWHITE = RGB(250, 235, 215)
	ANTIQUEWHITE1 = RGB(255, 239, 219)
	ANTIQUEWHITE2 = RGB(238, 223, 204)
	ANTIQUEWHITE3 = RGB(205, 192, 176)
	ANTIQUEWHITE4 = RGB(139, 131, 120)
	AQUA = RGB(0, 255, 255)
	AQUAMARINE1 = RGB(127, 255, 212)
	AQUAMARINE2 = RGB(118, 238, 198)
	AQUAMARINE3 = RGB(102, 205, 170)
	AQUAMARINE4 = RGB(69, 139, 116)
	AZURE1 = RGB(240, 255, 255)
	AZURE2 = RGB(224, 238, 238)
	AZURE3 = RGB(193, 205, 205)
	AZURE4 = RGB(131, 139, 139)
	BANANA = RGB(227, 207, 87)
	BEIGE = RGB(245, 245, 220)
	BISQUE1 = RGB(255, 228, 196)
	BISQUE2 = RGB(238, 213, 183)
	BISQUE3 = RGB(205, 183, 158)
	BISQUE4 = RGB(139, 125, 107)
	BLACK = RGB(0, 0, 0)
	BLANCHEDALMOND = RGB(255, 235, 205)
	BLUE = RGB(0, 0, 255)
	BLUE2 = RGB(0, 0, 238)
	BLUE3 = RGB(0, 0, 205)
	BLUE4 = RGB(0, 0, 139)
	BLUEVIOLET = RGB(138, 43, 226)
	BRICK = RGB(156, 102, 31)
	BROWN = RGB(165, 42, 42)
	BROWN1 = RGB(255, 64, 64)
	BROWN2 = RGB(238, 59, 59)
	BROWN3 = RGB(205, 51, 51)
	BROWN4 = RGB(139, 35, 35)
	BURLYWOOD = RGB(222, 184, 135)
	BURLYWOOD1 = RGB(255, 211, 155)
	BURLYWOOD2 = RGB(238, 197, 145)
	BURLYWOOD3 = RGB(205, 170, 125)
	BURLYWOOD4 = RGB(139, 115, 85)
	BURNTSIENNA = RGB(138, 54, 15)
	BURNTUMBER = RGB(138, 51, 36)
	CADETBLUE = RGB(95, 158, 160)
	CADETBLUE1 = RGB(152, 245, 255)
	CADETBLUE2 = RGB(142, 229, 238)
	CADETBLUE3 = RGB(122, 197, 205)
	CADETBLUE4 = RGB(83, 134, 139)
	CADMIUMORANGE = RGB(255, 97, 3)
	CADMIUMYELLOW = RGB(255, 153, 18)
	CARROT = RGB(237, 145, 33)
	CHARTREUSE1 = RGB(127, 255, 0)
	CHARTREUSE2 = RGB(118, 238, 0)
	CHARTREUSE3 = RGB(102, 205, 0)
	CHARTREUSE4 = RGB(69, 139, 0)
	CHOCOLATE = RGB(210, 105, 30)
	CHOCOLATE1 = RGB(255, 127, 36)
	CHOCOLATE2 = RGB(238, 118, 33)
	CHOCOLATE3 = RGB(205, 102, 29)
	CHOCOLATE4 = RGB(139, 69, 19)
	COBALT = RGB(61, 89, 171)
	COBALTGREEN = RGB(61, 145, 64)
	COLDGREY = RGB(128, 138, 135)
	CORAL = RGB(255, 127, 80)
	CORAL1 = RGB(255, 114, 86)
	CORAL2 = RGB(238, 106, 80)
	CORAL3 = RGB(205, 91, 69)
	CORAL4 = RGB(139, 62, 47)
	CORNFLOWERBLUE = RGB(100, 149, 237)
	CORNSILK1 = RGB(255, 248, 220)
	CORNSILK2 = RGB(238, 232, 205)
	CORNSILK3 = RGB(205, 200, 177)
	CORNSILK4 = RGB(139, 136, 120)
	CRIMSON = RGB(220, 20, 60)
	CYAN2 = RGB(0, 238, 238)
	CYAN3 = RGB(0, 205, 205)
	CYAN4 = RGB(0, 139, 139)
	DARKGOLDENROD = RGB(184, 134, 11)
	DARKGOLDENROD1 = RGB(255, 185, 15)
	DARKGOLDENROD2 = RGB(238, 173, 14)
	DARKGOLDENROD3 = RGB(205, 149, 12)
	DARKGOLDENROD4 = RGB(139, 101, 8)
	DARKGRAY = RGB(169, 169, 169)
	DARKGREEN = RGB(0, 100, 0)
	DARKKHAKI = RGB(189, 183, 107)
	DARKOLIVEGREEN = RGB(85, 107, 47)
	DARKOLIVEGREEN1 = RGB(202, 255, 112)
	DARKOLIVEGREEN2 = RGB(188, 238, 104)
	DARKOLIVEGREEN3 = RGB(162, 205, 90)
	DARKOLIVEGREEN4 = RGB(110, 139, 61)
	DARKORANGE = RGB(255, 140, 0)
	DARKORANGE1 = RGB(255, 127, 0)
	DARKORANGE2 = RGB(238, 118, 0)
	DARKORANGE3 = RGB(205, 102, 0)
	DARKORANGE4 = RGB(139, 69, 0)
	DARKORCHID = RGB(153, 50, 204)
	DARKORCHID1 = RGB(191, 62, 255)
	DARKORCHID2 = RGB(178, 58, 238)
	DARKORCHID3 = RGB(154, 50, 205)
	DARKORCHID4 = RGB(104, 34, 139)
	DARKSALMON = RGB(233, 150, 122)
	DARKSEAGREEN = RGB(143, 188, 143)
	DARKSEAGREEN1 = RGB(193, 255, 193)
	DARKSEAGREEN2 = RGB(180, 238, 180)
	DARKSEAGREEN3 = RGB(155, 205, 155)
	DARKSEAGREEN4 = RGB(105, 139, 105)
	DARKSLATEBLUE = RGB(72, 61, 139)
	DARKSLATEGRAY = RGB(47, 79, 79)
	DARKSLATEGRAY1 = RGB(151, 255, 255)
	DARKSLATEGRAY2 = RGB(141, 238, 238)
	DARKSLATEGRAY3 = RGB(121, 205, 205)
	DARKSLATEGRAY4 = RGB(82, 139, 139)
	DARKTURQUOISE = RGB(0, 206, 209)
	DARKVIOLET = RGB(148, 0, 211)
	DEEPPINK1 = RGB(255, 20, 147)
	DEEPPINK2 = RGB(238, 18, 137)
	DEEPPINK3 = RGB(205, 16, 118)
	DEEPPINK4 = RGB(139, 10, 80)
	DEEPSKYBLUE1 = RGB(0, 191, 255)
	DEEPSKYBLUE2 = RGB(0, 178, 238)
	DEEPSKYBLUE3 = RGB(0, 154, 205)
	DEEPSKYBLUE4 = RGB(0, 104, 139)
	DIMGRAY = RGB(105, 105, 105)
	DIMGRAY = RGB(105, 105, 105)
	DODGERBLUE1 = RGB(30, 144, 255)
	DODGERBLUE2 = RGB(28, 134, 238)
	DODGERBLUE3 = RGB(24, 116, 205)
	DODGERBLUE4 = RGB(16, 78, 139)
	EGGSHELL = RGB(252, 230, 201)
	EMERALDGREEN = RGB(0, 201, 87)
	FIREBRICK = RGB(178, 34, 34)
	FIREBRICK1 = RGB(255, 48, 48)
	FIREBRICK2 = RGB(238, 44, 44)
	FIREBRICK3 = RGB(205, 38, 38)
	FIREBRICK4 = RGB(139, 26, 26)
	FLESH = RGB(255, 125, 64)
	FLORALWHITE = RGB(255, 250, 240)
	FORESTGREEN = RGB(34, 139, 34)
	GAINSBORO = RGB(220, 220, 220)
	GHOSTWHITE = RGB(248, 248, 255)
	GOLD1 = RGB(255, 215, 0)
	GOLD2 = RGB(238, 201, 0)
	GOLD3 = RGB(205, 173, 0)
	GOLD4 = RGB(139, 117, 0)
	GOLDENROD = RGB(218, 165, 32)
	GOLDENROD1 = RGB(255, 193, 37)
	GOLDENROD2 = RGB(238, 180, 34)
	GOLDENROD3 = RGB(205, 155, 29)
	GOLDENROD4 = RGB(139, 105, 20)
	GRAY = RGB(128, 128, 128)
	GRAY1 = RGB(3, 3, 3)
	GRAY10 = RGB(26, 26, 26)
	GRAY11 = RGB(28, 28, 28)
	GRAY12 = RGB(31, 31, 31)
	GRAY13 = RGB(33, 33, 33)
	GRAY14 = RGB(36, 36, 36)
	GRAY15 = RGB(38, 38, 38)
	GRAY16 = RGB(41, 41, 41)
	GRAY17 = RGB(43, 43, 43)
	GRAY18 = RGB(46, 46, 46)
	GRAY19 = RGB(48, 48, 48)
	GRAY2 = RGB(5, 5, 5)
	GRAY20 = RGB(51, 51, 51)
	GRAY21 = RGB(54, 54, 54)
	GRAY22 = RGB(56, 56, 56)
	GRAY23 = RGB(59, 59, 59)
	GRAY24 = RGB(61, 61, 61)
	GRAY25 = RGB(64, 64, 64)
	GRAY26 = RGB(66, 66, 66)
	GRAY27 = RGB(69, 69, 69)
	GRAY28 = RGB(71, 71, 71)
	GRAY29 = RGB(74, 74, 74)
	GRAY3 = RGB(8, 8, 8)
	GRAY30 = RGB(77, 77, 77)
	GRAY31 = RGB(79, 79, 79)
	GRAY32 = RGB(82, 82, 82)
	GRAY33 = RGB(84, 84, 84)
	GRAY34 = RGB(87, 87, 87)
	GRAY35 = RGB(89, 89, 89)
	GRAY36 = RGB(92, 92, 92)
	GRAY37 = RGB(94, 94, 94)
	GRAY38 = RGB(97, 97, 97)
	GRAY39 = RGB(99, 99, 99)
	GRAY4 = RGB(10, 10, 10)
	GRAY40 = RGB(102, 102, 102)
	GRAY42 = RGB(107, 107, 107)
	GRAY43 = RGB(110, 110, 110)
	GRAY44 = RGB(112, 112, 112)
	GRAY45 = RGB(115, 115, 115)
	GRAY46 = RGB(117, 117, 117)
	GRAY47 = RGB(120, 120, 120)
	GRAY48 = RGB(122, 122, 122)
	GRAY49 = RGB(125, 125, 125)
	GRAY5 = RGB(13, 13, 13)
	GRAY50 = RGB(127, 127, 127)
	GRAY51 = RGB(130, 130, 130)
	GRAY52 = RGB(133, 133, 133)
	GRAY53 = RGB(135, 135, 135)
	GRAY54 = RGB(138, 138, 138)
	GRAY55 = RGB(140, 140, 140)
	GRAY56 = RGB(143, 143, 143)
	GRAY57 = RGB(145, 145, 145)
	GRAY58 = RGB(148, 148, 148)
	GRAY59 = RGB(150, 150, 150)
	GRAY6 = RGB(15, 15, 15)
	GRAY60 = RGB(153, 153, 153)
	GRAY61 = RGB(156, 156, 156)
	GRAY62 = RGB(158, 158, 158)
	GRAY63 = RGB(161, 161, 161)
	GRAY64 = RGB(163, 163, 163)
	GRAY65 = RGB(166, 166, 166)
	GRAY66 = RGB(168, 168, 168)
	GRAY67 = RGB(171, 171, 171)
	GRAY68 = RGB(173, 173, 173)
	GRAY69 = RGB(176, 176, 176)
	GRAY7 = RGB(18, 18, 18)
	GRAY70 = RGB(179, 179, 179)
	GRAY71 = RGB(181, 181, 181)
	GRAY72 = RGB(184, 184, 184)
	GRAY73 = RGB(186, 186, 186)
	GRAY74 = RGB(189, 189, 189)
	GRAY75 = RGB(191, 191, 191)
	GRAY76 = RGB(194, 194, 194)
	GRAY77 = RGB(196, 196, 196)
	GRAY78 = RGB(199, 199, 199)
	GRAY79 = RGB(201, 201, 201)
	GRAY8 = RGB(20, 20, 20)
	GRAY80 = RGB(204, 204, 204)
	GRAY81 = RGB(207, 207, 207)
	GRAY82 = RGB(209, 209, 209)
	GRAY83 = RGB(212, 212, 212)
	GRAY84 = RGB(214, 214, 214)
	GRAY85 = RGB(217, 217, 217)
	GRAY86 = RGB(219, 219, 219)
	GRAY87 = RGB(222, 222, 222)
	GRAY88 = RGB(224, 224, 224)
	GRAY89 = RGB(227, 227, 227)
	GRAY9 = RGB(23, 23, 23)
	GRAY90 = RGB(229, 229, 229)
	GRAY91 = RGB(232, 232, 232)
	GRAY92 = RGB(235, 235, 235)
	GRAY93 = RGB(237, 237, 237)
	GRAY94 = RGB(240, 240, 240)
	GRAY95 = RGB(242, 242, 242)
	GRAY97 = RGB(247, 247, 247)
	GRAY98 = RGB(250, 250, 250)
	GRAY99 = RGB(252, 252, 252)
	GREEN = RGB(0, 128, 0)
	GREEN1 = RGB(0, 255, 0)
	GREEN2 = RGB(0, 238, 0)
	GREEN3 = RGB(0, 205, 0)
	GREEN4 = RGB(0, 139, 0)
	GREENYELLOW = RGB(173, 255, 47)
	HONEYDEW1 = RGB(240, 255, 240)
	HONEYDEW2 = RGB(224, 238, 224)
	HONEYDEW3 = RGB(193, 205, 193)
	HONEYDEW4 = RGB(131, 139, 131)
	HOTPINK = RGB(255, 105, 180)
	HOTPINK1 = RGB(255, 110, 180)
	HOTPINK2 = RGB(238, 106, 167)
	HOTPINK3 = RGB(205, 96, 144)
	HOTPINK4 = RGB(139, 58, 98)
	INDIANRED = RGB(176, 23, 31)
	INDIANRED = RGB(205, 92, 92)
	INDIANRED1 = RGB(255, 106, 106)
	INDIANRED2 = RGB(238, 99, 99)
	INDIANRED3 = RGB(205, 85, 85)
	INDIANRED4 = RGB(139, 58, 58)
	INDIGO = RGB(75, 0, 130)
	IVORY1 = RGB(255, 255, 240)
	IVORY2 = RGB(238, 238, 224)
	IVORY3 = RGB(205, 205, 193)
	IVORY4 = RGB(139, 139, 131)
	IVORYBLACK = RGB(41, 36, 33)
	KHAKI = RGB(240, 230, 140)
	KHAKI1 = RGB(255, 246, 143)
	KHAKI2 = RGB(238, 230, 133)
	KHAKI3 = RGB(205, 198, 115)
	KHAKI4 = RGB(139, 134, 78)
	LAVENDER = RGB(230, 230, 250)
	LAVENDERBLUSH1 = RGB(255, 240, 245)
	LAVENDERBLUSH2 = RGB(238, 224, 229)
	LAVENDERBLUSH3 = RGB(205, 193, 197)
	LAVENDERBLUSH4 = RGB(139, 131, 134)
	LAWNGREEN = RGB(124, 252, 0)
	LEMONCHIFFON1 = RGB(255, 250, 205)
	LEMONCHIFFON2 = RGB(238, 233, 191)
	LEMONCHIFFON3 = RGB(205, 201, 165)
	LEMONCHIFFON4 = RGB(139, 137, 112)
	LIGHTBLUE = RGB(173, 216, 230)
	LIGHTBLUE1 = RGB(191, 239, 255)
	LIGHTBLUE2 = RGB(178, 223, 238)
	LIGHTBLUE3 = RGB(154, 192, 205)
	LIGHTBLUE4 = RGB(104, 131, 139)
	LIGHTCORAL = RGB(240, 128, 128)
	LIGHTCYAN1 = RGB(224, 255, 255)
	LIGHTCYAN2 = RGB(209, 238, 238)
	LIGHTCYAN3 = RGB(180, 205, 205)
	LIGHTCYAN4 = RGB(122, 139, 139)
	LIGHTGOLDENROD1 = RGB(255, 236, 139)
	LIGHTGOLDENROD2 = RGB(238, 220, 130)
	LIGHTGOLDENROD3 = RGB(205, 190, 112)
	LIGHTGOLDENROD4 = RGB(139, 129, 76)
	LIGHTGOLDENRODYELLOW = RGB(250, 250, 210)
	LIGHTGREY = RGB(211, 211, 211)
	LIGHTPINK = RGB(255, 182, 193)
	LIGHTPINK1 = RGB(255, 174, 185)
	LIGHTPINK2 = RGB(238, 162, 173)
	LIGHTPINK3 = RGB(205, 140, 149)
	LIGHTPINK4 = RGB(139, 95, 101)
	LIGHTSALMON1 = RGB(255, 160, 122)
	LIGHTSALMON2 = RGB(238, 149, 114)
	LIGHTSALMON3 = RGB(205, 129, 98)
	LIGHTSALMON4 = RGB(139, 87, 66)
	LIGHTSEAGREEN = RGB(32, 178, 170)
	LIGHTSKYBLUE = RGB(135, 206, 250)
	LIGHTSKYBLUE1 = RGB(176, 226, 255)
	LIGHTSKYBLUE2 = RGB(164, 211, 238)
	LIGHTSKYBLUE3 = RGB(141, 182, 205)
	LIGHTSKYBLUE4 = RGB(96, 123, 139)
	LIGHTSLATEBLUE = RGB(132, 112, 255)
	LIGHTSLATEGRAY = RGB(119, 136, 153)
	LIGHTSTEELBLUE = RGB(176, 196, 222)
	LIGHTSTEELBLUE1 = RGB(202, 225, 255)
	LIGHTSTEELBLUE2 = RGB(188, 210, 238)
	LIGHTSTEELBLUE3 = RGB(162, 181, 205)
	LIGHTSTEELBLUE4 = RGB(110, 123, 139)
	LIGHTYELLOW1 = RGB(255, 255, 224)
	LIGHTYELLOW2 = RGB(238, 238, 209)
	LIGHTYELLOW3 = RGB(205, 205, 180)
	LIGHTYELLOW4 = RGB(139, 139, 122)
	LIMEGREEN = RGB(50, 205, 50)
	LINEN = RGB(250, 240, 230)
	MAGENTA = RGB(255, 0, 255)
	MAGENTA2 = RGB(238, 0, 238)
	MAGENTA3 = RGB(205, 0, 205)
	MAGENTA4 = RGB(139, 0, 139)
	MANGANESEBLUE = RGB(3, 168, 158)
	MAROON = RGB(128, 0, 0)
	MAROON1 = RGB(255, 52, 179)
	MAROON2 = RGB(238, 48, 167)
	MAROON3 = RGB(205, 41, 144)
	MAROON4 = RGB(139, 28, 98)
	MEDIUMORCHID = RGB(186, 85, 211)
	MEDIUMORCHID1 = RGB(224, 102, 255)
	MEDIUMORCHID2 = RGB(209, 95, 238)
	MEDIUMORCHID3 = RGB(180, 82, 205)
	MEDIUMORCHID4 = RGB(122, 55, 139)
	MEDIUMPURPLE = RGB(147, 112, 219)
	MEDIUMPURPLE1 = RGB(171, 130, 255)
	MEDIUMPURPLE2 = RGB(159, 121, 238)
	MEDIUMPURPLE3 = RGB(137, 104, 205)
	MEDIUMPURPLE4 = RGB(93, 71, 139)
	MEDIUMSEAGREEN = RGB(60, 179, 113)
	MEDIUMSLATEBLUE = RGB(123, 104, 238)
	MEDIUMSPRINGGREEN = RGB(0, 250, 154)
	MEDIUMTURQUOISE = RGB(72, 209, 204)
	MEDIUMVIOLETRED = RGB(199, 21, 133)
	MELON = RGB(227, 168, 105)
	MIDNIGHTBLUE = RGB(25, 25, 112)
	MINT = RGB(189, 252, 201)
	MINTCREAM = RGB(245, 255, 250)
	MISTYROSE1 = RGB(255, 228, 225)
	MISTYROSE2 = RGB(238, 213, 210)
	MISTYROSE3 = RGB(205, 183, 181)
	MISTYROSE4 = RGB(139, 125, 123)
	MOCCASIN = RGB(255, 228, 181)
	NAVAJOWHITE1 = RGB(255, 222, 173)
	NAVAJOWHITE2 = RGB(238, 207, 161)
	NAVAJOWHITE3 = RGB(205, 179, 139)
	NAVAJOWHITE4 = RGB(139, 121, 94)
	NAVY = RGB(0, 0, 128)
	OLDLACE = RGB(253, 245, 230)
	OLIVE = RGB(128, 128, 0)
	OLIVEDRAB = RGB(107, 142, 35)
	OLIVEDRAB1 = RGB(192, 255, 62)
	OLIVEDRAB2 = RGB(179, 238, 58)
	OLIVEDRAB3 = RGB(154, 205, 50)
	OLIVEDRAB4 = RGB(105, 139, 34)
	ORANGE = RGB(255, 128, 0)
	ORANGE1 = RGB(255, 165, 0)
	ORANGE2 = RGB(238, 154, 0)
	ORANGE3 = RGB(205, 133, 0)
	ORANGE4 = RGB(139, 90, 0)
	ORANGERED1 = RGB(255, 69, 0)
	ORANGERED2 = RGB(238, 64, 0)
	ORANGERED3 = RGB(205, 55, 0)
	ORANGERED4 = RGB(139, 37, 0)
	ORCHID = RGB(218, 112, 214)
	ORCHID1 = RGB(255, 131, 250)
	ORCHID2 = RGB(238, 122, 233)
	ORCHID3 = RGB(205, 105, 201)
	ORCHID4 = RGB(139, 71, 137)
	PALEGOLDENROD = RGB(238, 232, 170)
	PALEGREEN = RGB(152, 251, 152)
	PALEGREEN1 = RGB(154, 255, 154)
	PALEGREEN2 = RGB(144, 238, 144)
	PALEGREEN3 = RGB(124, 205, 124)
	PALEGREEN4 = RGB(84, 139, 84)
	PALETURQUOISE1 = RGB(187, 255, 255)
	PALETURQUOISE2 = RGB(174, 238, 238)
	PALETURQUOISE3 = RGB(150, 205, 205)
	PALETURQUOISE4 = RGB(102, 139, 139)
	PALEVIOLETRED = RGB(219, 112, 147)
	PALEVIOLETRED1 = RGB(255, 130, 171)
	PALEVIOLETRED2 = RGB(238, 121, 159)
	PALEVIOLETRED3 = RGB(205, 104, 137)
	PALEVIOLETRED4 = RGB(139, 71, 93)
	PAPAYAWHIP = RGB(255, 239, 213)
	PEACHPUFF1 = RGB(255, 218, 185)
	PEACHPUFF2 = RGB(238, 203, 173)
	PEACHPUFF3 = RGB(205, 175, 149)
	PEACHPUFF4 = RGB(139, 119, 101)
	PEACOCK = RGB(51, 161, 201)
	PINK = RGB(255, 192, 203)
	PINK1 = RGB(255, 181, 197)
	PINK2 = RGB(238, 169, 184)
	PINK3 = RGB(205, 145, 158)
	PINK4 = RGB(139, 99, 108)
	PLUM = RGB(221, 160, 221)
	PLUM1 = RGB(255, 187, 255)
	PLUM2 = RGB(238, 174, 238)
	PLUM3 = RGB(205, 150, 205)
	PLUM4 = RGB(139, 102, 139)
	POWDERBLUE = RGB(176, 224, 230)
	PURPLE = RGB(128, 0, 128)
	PURPLE1 = RGB(155, 48, 255)
	PURPLE2 = RGB(145, 44, 238)
	PURPLE3 = RGB(125, 38, 205)
	PURPLE4 = RGB(85, 26, 139)
	RASPBERRY = RGB(135, 38, 87)
	RAWSIENNA = RGB(199, 97, 20)
	RED1 = RGB(255, 0, 0)
	RED2 = RGB(238, 0, 0)
	RED3 = RGB(205, 0, 0)
	RED4 = RGB(139, 0, 0)
	ROSYBROWN = RGB(188, 143, 143)
	ROSYBROWN1 = RGB(255, 193, 193)
	ROSYBROWN2 = RGB(238, 180, 180)
	ROSYBROWN3 = RGB(205, 155, 155)
	ROSYBROWN4 = RGB(139, 105, 105)
	ROYALBLUE = RGB(65, 105, 225)
	ROYALBLUE1 = RGB(72, 118, 255)
	ROYALBLUE2 = RGB(67, 110, 238)
	ROYALBLUE3 = RGB(58, 95, 205)
	ROYALBLUE4 = RGB(39, 64, 139)
	SALMON = RGB(250, 128, 114)
	SALMON1 = RGB(255, 140, 105)
	SALMON2 = RGB(238, 130, 98)
	SALMON3 = RGB(205, 112, 84)
	SALMON4 = RGB(139, 76, 57)
	SANDYBROWN = RGB(244, 164, 96)
	SAPGREEN = RGB(48, 128, 20)
	SEAGREEN1 = RGB(84, 255, 159)
	SEAGREEN2 = RGB(78, 238, 148)
	SEAGREEN3 = RGB(67, 205, 128)
	SEAGREEN4 = RGB(46, 139, 87)
	SEASHELL1 = RGB(255, 245, 238)
	SEASHELL2 = RGB(238, 229, 222)
	SEASHELL3 = RGB(205, 197, 191)
	SEASHELL4 = RGB(139, 134, 130)
	SEPIA = RGB(94, 38, 18)
	SGIBEET = RGB(142, 56, 142)
	SGIBRIGHTGRAY = RGB(197, 193, 170)
	SGICHARTREUSE = RGB(113, 198, 113)
	SGIDARKGRAY = RGB(85, 85, 85)
	SGIGRAY12 = RGB(30, 30, 30)
	SGIGRAY16 = RGB(40, 40, 40)
	SGIGRAY32 = RGB(81, 81, 81)
	SGIGRAY36 = RGB(91, 91, 91)
	SGIGRAY52 = RGB(132, 132, 132)
	SGIGRAY56 = RGB(142, 142, 142)
	SGIGRAY72 = RGB(183, 183, 183)
	SGIGRAY76 = RGB(193, 193, 193)
	SGIGRAY92 = RGB(234, 234, 234)
	SGIGRAY96 = RGB(244, 244, 244)
	SGILIGHTBLUE = RGB(125, 158, 192)
	SGILIGHTGRAY = RGB(170, 170, 170)
	SGIOLIVEDRAB = RGB(142, 142, 56)
	SGISALMON = RGB(198, 113, 113)
	SGISLATEBLUE = RGB(113, 113, 198)
	SGITEAL = RGB(56, 142, 142)
	SIENNA = RGB(160, 82, 45)
	SIENNA1 = RGB(255, 130, 71)
	SIENNA2 = RGB(238, 121, 66)
	SIENNA3 = RGB(205, 104, 57)
	SIENNA4 = RGB(139, 71, 38)
	SILVER = RGB(192, 192, 192)
	SKYBLUE = RGB(135, 206, 235)
	SKYBLUE1 = RGB(135, 206, 255)
	SKYBLUE2 = RGB(126, 192, 238)
	SKYBLUE3 = RGB(108, 166, 205)
	SKYBLUE4 = RGB(74, 112, 139)
	SLATEBLUE = RGB(106, 90, 205)
	SLATEBLUE1 = RGB(131, 111, 255)
	SLATEBLUE2 = RGB(122, 103, 238)
	SLATEBLUE3 = RGB(105, 89, 205)
	SLATEBLUE4 = RGB(71, 60, 139)
	SLATEGRAY = RGB(112, 128, 144)
	SLATEGRAY1 = RGB(198, 226, 255)
	SLATEGRAY2 = RGB(185, 211, 238)
	SLATEGRAY3 = RGB(159, 182, 205)
	SLATEGRAY4 = RGB(108, 123, 139)
	SNOW1 = RGB(255, 250, 250)
	SNOW2 = RGB(238, 233, 233)
	SNOW3 = RGB(205, 201, 201)
	SNOW4 = RGB(139, 137, 137)
	SPRINGGREEN = RGB(0, 255, 127)
	SPRINGGREEN1 = RGB(0, 238, 118)
	SPRINGGREEN2 = RGB(0, 205, 102)
	SPRINGGREEN3 = RGB(0, 139, 69)
	STEELBLUE = RGB(70, 130, 180)
	STEELBLUE1 = RGB(99, 184, 255)
	STEELBLUE2 = RGB(92, 172, 238)
	STEELBLUE3 = RGB(79, 148, 205)
	STEELBLUE4 = RGB(54, 100, 139)
	TAN = RGB(210, 180, 140)
	TAN1 = RGB(255, 165, 79)
	TAN2 = RGB(238, 154, 73)
	TAN3 = RGB(205, 133, 63)
	TAN4 = RGB(139, 90, 43)
	TEAL = RGB(0, 128, 128)
	THISTLE = RGB(216, 191, 216)
	THISTLE1 = RGB(255, 225, 255)
	THISTLE2 = RGB(238, 210, 238)
	THISTLE3 = RGB(205, 181, 205)
	THISTLE4 = RGB(139, 123, 139)
	TOMATO1 = RGB(255, 99, 71)
	TOMATO2 = RGB(238, 92, 66)
	TOMATO3 = RGB(205, 79, 57)
	TOMATO4 = RGB(139, 54, 38)
	TURQUOISE = RGB(64, 224, 208)
	TURQUOISE1 = RGB(0, 245, 255)
	TURQUOISE2 = RGB(0, 229, 238)
	TURQUOISE3 = RGB(0, 197, 205)
	TURQUOISE4 = RGB(0, 134, 139)
	TURQUOISEBLUE = RGB(0, 199, 140)
	VIOLET = RGB(238, 130, 238)
	VIOLETRED = RGB(208, 32, 144)
	VIOLETRED1 = RGB(255, 62, 150)
	VIOLETRED2 = RGB(238, 58, 140)
	VIOLETRED3 = RGB(205, 50, 120)
	VIOLETRED4 = RGB(139, 34, 82)
	WARMGREY = RGB(128, 128, 105)
	WHEAT = RGB(245, 222, 179)
	WHEAT1 = RGB(255, 231, 186)
	WHEAT2 = RGB(238, 216, 174)
	WHEAT3 = RGB(205, 186, 150)
	WHEAT4 = RGB(139, 126, 102)
	WHITE = RGB(255, 255, 255)
	WHITESMOKE = RGB(245, 245, 245)
	WHITESMOKE = RGB(245, 245, 245)
	YELLOW1 = RGB(255, 255, 0)
	YELLOW2 = RGB(238, 238, 0)
	YELLOW3 = RGB(205, 205, 0)
	YELLOW4 = RGB(139, 139, 0)
	#Add colors to colors dictionary
	colors['aliceblue'] = ALICEBLUE
	colors['antiquewhite'] = ANTIQUEWHITE
	colors['antiquewhite1'] = ANTIQUEWHITE1
	colors['antiquewhite2'] = ANTIQUEWHITE2
	colors['antiquewhite3'] = ANTIQUEWHITE3
	colors['antiquewhite4'] = ANTIQUEWHITE4
	colors['aqua'] = AQUA
	colors['aquamarine1'] = AQUAMARINE1
	colors['aquamarine2'] = AQUAMARINE2
	colors['aquamarine3'] = AQUAMARINE3
	colors['aquamarine4'] = AQUAMARINE4
	colors['azure1'] = AZURE1
	colors['azure2'] = AZURE2
	colors['azure3'] = AZURE3
	colors['azure4'] = AZURE4
	colors['banana'] = BANANA
	colors['beige'] = BEIGE
	colors['bisque1'] = BISQUE1
	colors['bisque2'] = BISQUE2
	colors['bisque3'] = BISQUE3
	colors['bisque4'] = BISQUE4
	colors['black'] = BLACK
	colors['blanchedalmond'] = BLANCHEDALMOND
	colors['blue'] = BLUE
	colors['blue2'] = BLUE2
	colors['blue3'] = BLUE3
	colors['blue4'] = BLUE4
	colors['blueviolet'] = BLUEVIOLET
	colors['brick'] = BRICK
	colors['brown'] = BROWN
	colors['brown1'] = BROWN1
	colors['brown2'] = BROWN2
	colors['brown3'] = BROWN3
	colors['brown4'] = BROWN4
	colors['burlywood'] = BURLYWOOD
	colors['burlywood1'] = BURLYWOOD1
	colors['burlywood2'] = BURLYWOOD2
	colors['burlywood3'] = BURLYWOOD3
	colors['burlywood4'] = BURLYWOOD4
	colors['burntsienna'] = BURNTSIENNA
	colors['burntumber'] = BURNTUMBER
	colors['cadetblue'] = CADETBLUE
	colors['cadetblue1'] = CADETBLUE1
	colors['cadetblue2'] = CADETBLUE2
	colors['cadetblue3'] = CADETBLUE3
	colors['cadetblue4'] = CADETBLUE4
	colors['cadmiumorange'] = CADMIUMORANGE
	colors['cadmiumyellow'] = CADMIUMYELLOW
	colors['carrot'] = CARROT
	colors['chartreuse1'] = CHARTREUSE1
	colors['chartreuse2'] = CHARTREUSE2
	colors['chartreuse3'] = CHARTREUSE3
	colors['chartreuse4'] = CHARTREUSE4
	colors['chocolate'] = CHOCOLATE
	colors['chocolate1'] = CHOCOLATE1
	colors['chocolate2'] = CHOCOLATE2
	colors['chocolate3'] = CHOCOLATE3
	colors['chocolate4'] = CHOCOLATE4
	colors['cobalt'] = COBALT
	colors['cobaltgreen'] = COBALTGREEN
	colors['coldgrey'] = COLDGREY
	colors['coral'] = CORAL
	colors['coral1'] = CORAL1
	colors['coral2'] = CORAL2
	colors['coral3'] = CORAL3
	colors['coral4'] = CORAL4
	colors['cornflowerblue'] = CORNFLOWERBLUE
	colors['cornsilk1'] = CORNSILK1
	colors['cornsilk2'] = CORNSILK2
	colors['cornsilk3'] = CORNSILK3
	colors['cornsilk4'] = CORNSILK4
	colors['crimson'] = CRIMSON
	colors['cyan2'] = CYAN2
	colors['cyan3'] = CYAN3
	colors['cyan4'] = CYAN4
	colors['darkgoldenrod'] = DARKGOLDENROD
	colors['darkgoldenrod1'] = DARKGOLDENROD1
	colors['darkgoldenrod2'] = DARKGOLDENROD2
	colors['darkgoldenrod3'] = DARKGOLDENROD3
	colors['darkgoldenrod4'] = DARKGOLDENROD4
	colors['darkgray'] = DARKGRAY
	colors['darkgreen'] = DARKGREEN
	colors['darkkhaki'] = DARKKHAKI
	colors['darkolivegreen'] = DARKOLIVEGREEN
	colors['darkolivegreen1'] = DARKOLIVEGREEN1
	colors['darkolivegreen2'] = DARKOLIVEGREEN2
	colors['darkolivegreen3'] = DARKOLIVEGREEN3
	colors['darkolivegreen4'] = DARKOLIVEGREEN4
	colors['darkorange'] = DARKORANGE
	colors['darkorange1'] = DARKORANGE1
	colors['darkorange2'] = DARKORANGE2
	colors['darkorange3'] = DARKORANGE3
	colors['darkorange4'] = DARKORANGE4
	colors['darkorchid'] = DARKORCHID
	colors['darkorchid1'] = DARKORCHID1
	colors['darkorchid2'] = DARKORCHID2
	colors['darkorchid3'] = DARKORCHID3
	colors['darkorchid4'] = DARKORCHID4
	colors['darksalmon'] = DARKSALMON
	colors['darkseagreen'] = DARKSEAGREEN
	colors['darkseagreen1'] = DARKSEAGREEN1
	colors['darkseagreen2'] = DARKSEAGREEN2
	colors['darkseagreen3'] = DARKSEAGREEN3
	colors['darkseagreen4'] = DARKSEAGREEN4
	colors['darkslateblue'] = DARKSLATEBLUE
	colors['darkslategray'] = DARKSLATEGRAY
	colors['darkslategray1'] = DARKSLATEGRAY1
	colors['darkslategray2'] = DARKSLATEGRAY2
	colors['darkslategray3'] = DARKSLATEGRAY3
	colors['darkslategray4'] = DARKSLATEGRAY4
	colors['darkturquoise'] = DARKTURQUOISE
	colors['darkviolet'] = DARKVIOLET
	colors['deeppink1'] = DEEPPINK1
	colors['deeppink2'] = DEEPPINK2
	colors['deeppink3'] = DEEPPINK3
	colors['deeppink4'] = DEEPPINK4
	colors['deepskyblue1'] = DEEPSKYBLUE1
	colors['deepskyblue2'] = DEEPSKYBLUE2
	colors['deepskyblue3'] = DEEPSKYBLUE3
	colors['deepskyblue4'] = DEEPSKYBLUE4
	colors['dimgray'] = DIMGRAY
	colors['dimgray'] = DIMGRAY
	colors['dodgerblue1'] = DODGERBLUE1
	colors['dodgerblue2'] = DODGERBLUE2
	colors['dodgerblue3'] = DODGERBLUE3
	colors['dodgerblue4'] = DODGERBLUE4
	colors['eggshell'] = EGGSHELL
	colors['emeraldgreen'] = EMERALDGREEN
	colors['firebrick'] = FIREBRICK
	colors['firebrick1'] = FIREBRICK1
	colors['firebrick2'] = FIREBRICK2
	colors['firebrick3'] = FIREBRICK3
	colors['firebrick4'] = FIREBRICK4
	colors['flesh'] = FLESH
	colors['floralwhite'] = FLORALWHITE
	colors['forestgreen'] = FORESTGREEN
	colors['gainsboro'] = GAINSBORO
	colors['ghostwhite'] = GHOSTWHITE
	colors['gold1'] = GOLD1
	colors['gold2'] = GOLD2
	colors['gold3'] = GOLD3
	colors['gold4'] = GOLD4
	colors['goldenrod'] = GOLDENROD
	colors['goldenrod1'] = GOLDENROD1
	colors['goldenrod2'] = GOLDENROD2
	colors['goldenrod3'] = GOLDENROD3
	colors['goldenrod4'] = GOLDENROD4
	colors['gray'] = GRAY
	colors['gray1'] = GRAY1
	colors['gray10'] = GRAY10
	colors['gray11'] = GRAY11
	colors['gray12'] = GRAY12
	colors['gray13'] = GRAY13
	colors['gray14'] = GRAY14
	colors['gray15'] = GRAY15
	colors['gray16'] = GRAY16
	colors['gray17'] = GRAY17
	colors['gray18'] = GRAY18
	colors['gray19'] = GRAY19
	colors['gray2'] = GRAY2
	colors['gray20'] = GRAY20
	colors['gray21'] = GRAY21
	colors['gray22'] = GRAY22
	colors['gray23'] = GRAY23
	colors['gray24'] = GRAY24
	colors['gray25'] = GRAY25
	colors['gray26'] = GRAY26
	colors['gray27'] = GRAY27
	colors['gray28'] = GRAY28
	colors['gray29'] = GRAY29
	colors['gray3'] = GRAY3
	colors['gray30'] = GRAY30
	colors['gray31'] = GRAY31
	colors['gray32'] = GRAY32
	colors['gray33'] = GRAY33
	colors['gray34'] = GRAY34
	colors['gray35'] = GRAY35
	colors['gray36'] = GRAY36
	colors['gray37'] = GRAY37
	colors['gray38'] = GRAY38
	colors['gray39'] = GRAY39
	colors['gray4'] = GRAY4
	colors['gray40'] = GRAY40
	colors['gray42'] = GRAY42
	colors['gray43'] = GRAY43
	colors['gray44'] = GRAY44
	colors['gray45'] = GRAY45
	colors['gray46'] = GRAY46
	colors['gray47'] = GRAY47
	colors['gray48'] = GRAY48
	colors['gray49'] = GRAY49
	colors['gray5'] = GRAY5
	colors['gray50'] = GRAY50
	colors['gray51'] = GRAY51
	colors['gray52'] = GRAY52
	colors['gray53'] = GRAY53
	colors['gray54'] = GRAY54
	colors['gray55'] = GRAY55
	colors['gray56'] = GRAY56
	colors['gray57'] = GRAY57
	colors['gray58'] = GRAY58
	colors['gray59'] = GRAY59
	colors['gray6'] = GRAY6
	colors['gray60'] = GRAY60
	colors['gray61'] = GRAY61
	colors['gray62'] = GRAY62
	colors['gray63'] = GRAY63
	colors['gray64'] = GRAY64
	colors['gray65'] = GRAY65
	colors['gray66'] = GRAY66
	colors['gray67'] = GRAY67
	colors['gray68'] = GRAY68
	colors['gray69'] = GRAY69
	colors['gray7'] = GRAY7
	colors['gray70'] = GRAY70
	colors['gray71'] = GRAY71
	colors['gray72'] = GRAY72
	colors['gray73'] = GRAY73
	colors['gray74'] = GRAY74
	colors['gray75'] = GRAY75
	colors['gray76'] = GRAY76
	colors['gray77'] = GRAY77
	colors['gray78'] = GRAY78
	colors['gray79'] = GRAY79
	colors['gray8'] = GRAY8
	colors['gray80'] = GRAY80
	colors['gray81'] = GRAY81
	colors['gray82'] = GRAY82
	colors['gray83'] = GRAY83
	colors['gray84'] = GRAY84
	colors['gray85'] = GRAY85
	colors['gray86'] = GRAY86
	colors['gray87'] = GRAY87
	colors['gray88'] = GRAY88
	colors['gray89'] = GRAY89
	colors['gray9'] = GRAY9
	colors['gray90'] = GRAY90
	colors['gray91'] = GRAY91
	colors['gray92'] = GRAY92
	colors['gray93'] = GRAY93
	colors['gray94'] = GRAY94
	colors['gray95'] = GRAY95
	colors['gray97'] = GRAY97
	colors['gray98'] = GRAY98
	colors['gray99'] = GRAY99
	colors['green'] = GREEN
	colors['green1'] = GREEN1
	colors['green2'] = GREEN2
	colors['green3'] = GREEN3
	colors['green4'] = GREEN4
	colors['greenyellow'] = GREENYELLOW
	colors['honeydew1'] = HONEYDEW1
	colors['honeydew2'] = HONEYDEW2
	colors['honeydew3'] = HONEYDEW3
	colors['honeydew4'] = HONEYDEW4
	colors['hotpink'] = HOTPINK
	colors['hotpink1'] = HOTPINK1
	colors['hotpink2'] = HOTPINK2
	colors['hotpink3'] = HOTPINK3
	colors['hotpink4'] = HOTPINK4
	colors['indianred'] = INDIANRED
	colors['indianred'] = INDIANRED
	colors['indianred1'] = INDIANRED1
	colors['indianred2'] = INDIANRED2
	colors['indianred3'] = INDIANRED3
	colors['indianred4'] = INDIANRED4
	colors['indigo'] = INDIGO
	colors['ivory1'] = IVORY1
	colors['ivory2'] = IVORY2
	colors['ivory3'] = IVORY3
	colors['ivory4'] = IVORY4
	colors['ivoryblack'] = IVORYBLACK
	colors['khaki'] = KHAKI
	colors['khaki1'] = KHAKI1
	colors['khaki2'] = KHAKI2
	colors['khaki3'] = KHAKI3
	colors['khaki4'] = KHAKI4
	colors['lavender'] = LAVENDER
	colors['lavenderblush1'] = LAVENDERBLUSH1
	colors['lavenderblush2'] = LAVENDERBLUSH2
	colors['lavenderblush3'] = LAVENDERBLUSH3
	colors['lavenderblush4'] = LAVENDERBLUSH4
	colors['lawngreen'] = LAWNGREEN
	colors['lemonchiffon1'] = LEMONCHIFFON1
	colors['lemonchiffon2'] = LEMONCHIFFON2
	colors['lemonchiffon3'] = LEMONCHIFFON3
	colors['lemonchiffon4'] = LEMONCHIFFON4
	colors['lightblue'] = LIGHTBLUE
	colors['lightblue1'] = LIGHTBLUE1
	colors['lightblue2'] = LIGHTBLUE2
	colors['lightblue3'] = LIGHTBLUE3
	colors['lightblue4'] = LIGHTBLUE4
	colors['lightcoral'] = LIGHTCORAL
	colors['lightcyan1'] = LIGHTCYAN1
	colors['lightcyan2'] = LIGHTCYAN2
	colors['lightcyan3'] = LIGHTCYAN3
	colors['lightcyan4'] = LIGHTCYAN4
	colors['lightgoldenrod1'] = LIGHTGOLDENROD1
	colors['lightgoldenrod2'] = LIGHTGOLDENROD2
	colors['lightgoldenrod3'] = LIGHTGOLDENROD3
	colors['lightgoldenrod4'] = LIGHTGOLDENROD4
	colors['lightgoldenrodyellow'] = LIGHTGOLDENRODYELLOW
	colors['lightgrey'] = LIGHTGREY
	colors['lightpink'] = LIGHTPINK
	colors['lightpink1'] = LIGHTPINK1
	colors['lightpink2'] = LIGHTPINK2
	colors['lightpink3'] = LIGHTPINK3
	colors['lightpink4'] = LIGHTPINK4
	colors['lightsalmon1'] = LIGHTSALMON1
	colors['lightsalmon2'] = LIGHTSALMON2
	colors['lightsalmon3'] = LIGHTSALMON3
	colors['lightsalmon4'] = LIGHTSALMON4
	colors['lightseagreen'] = LIGHTSEAGREEN
	colors['lightskyblue'] = LIGHTSKYBLUE
	colors['lightskyblue1'] = LIGHTSKYBLUE1
	colors['lightskyblue2'] = LIGHTSKYBLUE2
	colors['lightskyblue3'] = LIGHTSKYBLUE3
	colors['lightskyblue4'] = LIGHTSKYBLUE4
	colors['lightslateblue'] = LIGHTSLATEBLUE
	colors['lightslategray'] = LIGHTSLATEGRAY
	colors['lightsteelblue'] = LIGHTSTEELBLUE
	colors['lightsteelblue1'] = LIGHTSTEELBLUE1
	colors['lightsteelblue2'] = LIGHTSTEELBLUE2
	colors['lightsteelblue3'] = LIGHTSTEELBLUE3
	colors['lightsteelblue4'] = LIGHTSTEELBLUE4
	colors['lightyellow1'] = LIGHTYELLOW1
	colors['lightyellow2'] = LIGHTYELLOW2
	colors['lightyellow3'] = LIGHTYELLOW3
	colors['lightyellow4'] = LIGHTYELLOW4
	colors['limegreen'] = LIMEGREEN
	colors['linen'] = LINEN
	colors['magenta'] = MAGENTA
	colors['magenta2'] = MAGENTA2
	colors['magenta3'] = MAGENTA3
	colors['magenta4'] = MAGENTA4
	colors['manganeseblue'] = MANGANESEBLUE
	colors['maroon'] = MAROON
	colors['maroon1'] = MAROON1
	colors['maroon2'] = MAROON2
	colors['maroon3'] = MAROON3
	colors['maroon4'] = MAROON4
	colors['mediumorchid'] = MEDIUMORCHID
	colors['mediumorchid1'] = MEDIUMORCHID1
	colors['mediumorchid2'] = MEDIUMORCHID2
	colors['mediumorchid3'] = MEDIUMORCHID3
	colors['mediumorchid4'] = MEDIUMORCHID4
	colors['mediumpurple'] = MEDIUMPURPLE
	colors['mediumpurple1'] = MEDIUMPURPLE1
	colors['mediumpurple2'] = MEDIUMPURPLE2
	colors['mediumpurple3'] = MEDIUMPURPLE3
	colors['mediumpurple4'] = MEDIUMPURPLE4
	colors['mediumseagreen'] = MEDIUMSEAGREEN
	colors['mediumslateblue'] = MEDIUMSLATEBLUE
	colors['mediumspringgreen'] = MEDIUMSPRINGGREEN
	colors['mediumturquoise'] = MEDIUMTURQUOISE
	colors['mediumvioletred'] = MEDIUMVIOLETRED
	colors['melon'] = MELON
	colors['midnightblue'] = MIDNIGHTBLUE
	colors['mint'] = MINT
	colors['mintcream'] = MINTCREAM
	colors['mistyrose1'] = MISTYROSE1
	colors['mistyrose2'] = MISTYROSE2
	colors['mistyrose3'] = MISTYROSE3
	colors['mistyrose4'] = MISTYROSE4
	colors['moccasin'] = MOCCASIN
	colors['navajowhite1'] = NAVAJOWHITE1
	colors['navajowhite2'] = NAVAJOWHITE2
	colors['navajowhite3'] = NAVAJOWHITE3
	colors['navajowhite4'] = NAVAJOWHITE4
	colors['navy'] = NAVY
	colors['oldlace'] = OLDLACE
	colors['olive'] = OLIVE
	colors['olivedrab'] = OLIVEDRAB
	colors['olivedrab1'] = OLIVEDRAB1
	colors['olivedrab2'] = OLIVEDRAB2
	colors['olivedrab3'] = OLIVEDRAB3
	colors['olivedrab4'] = OLIVEDRAB4
	colors['orange'] = ORANGE
	colors['orange1'] = ORANGE1
	colors['orange2'] = ORANGE2
	colors['orange3'] = ORANGE3
	colors['orange4'] = ORANGE4
	colors['orangered1'] = ORANGERED1
	colors['orangered2'] = ORANGERED2
	colors['orangered3'] = ORANGERED3
	colors['orangered4'] = ORANGERED4
	colors['orchid'] = ORCHID
	colors['orchid1'] = ORCHID1
	colors['orchid2'] = ORCHID2
	colors['orchid3'] = ORCHID3
	colors['orchid4'] = ORCHID4
	colors['palegoldenrod'] = PALEGOLDENROD
	colors['palegreen'] = PALEGREEN
	colors['palegreen1'] = PALEGREEN1
	colors['palegreen2'] = PALEGREEN2
	colors['palegreen3'] = PALEGREEN3
	colors['palegreen4'] = PALEGREEN4
	colors['paleturquoise1'] = PALETURQUOISE1
	colors['paleturquoise2'] = PALETURQUOISE2
	colors['paleturquoise3'] = PALETURQUOISE3
	colors['paleturquoise4'] = PALETURQUOISE4
	colors['palevioletred'] = PALEVIOLETRED
	colors['palevioletred1'] = PALEVIOLETRED1
	colors['palevioletred2'] = PALEVIOLETRED2
	colors['palevioletred3'] = PALEVIOLETRED3
	colors['palevioletred4'] = PALEVIOLETRED4
	colors['papayawhip'] = PAPAYAWHIP
	colors['peachpuff1'] = PEACHPUFF1
	colors['peachpuff2'] = PEACHPUFF2
	colors['peachpuff3'] = PEACHPUFF3
	colors['peachpuff4'] = PEACHPUFF4
	colors['peacock'] = PEACOCK
	colors['pink'] = PINK
	colors['pink1'] = PINK1
	colors['pink2'] = PINK2
	colors['pink3'] = PINK3
	colors['pink4'] = PINK4
	colors['plum'] = PLUM
	colors['plum1'] = PLUM1
	colors['plum2'] = PLUM2
	colors['plum3'] = PLUM3
	colors['plum4'] = PLUM4
	colors['powderblue'] = POWDERBLUE
	colors['purple'] = PURPLE
	colors['purple1'] = PURPLE1
	colors['purple2'] = PURPLE2
	colors['purple3'] = PURPLE3
	colors['purple4'] = PURPLE4
	colors['raspberry'] = RASPBERRY
	colors['rawsienna'] = RAWSIENNA
	colors['red1'] = RED1
	colors['red2'] = RED2
	colors['red3'] = RED3
	colors['red4'] = RED4
	colors['rosybrown'] = ROSYBROWN
	colors['rosybrown1'] = ROSYBROWN1
	colors['rosybrown2'] = ROSYBROWN2
	colors['rosybrown3'] = ROSYBROWN3
	colors['rosybrown4'] = ROSYBROWN4
	colors['royalblue'] = ROYALBLUE
	colors['royalblue1'] = ROYALBLUE1
	colors['royalblue2'] = ROYALBLUE2
	colors['royalblue3'] = ROYALBLUE3
	colors['royalblue4'] = ROYALBLUE4
	colors['salmon'] = SALMON
	colors['salmon1'] = SALMON1
	colors['salmon2'] = SALMON2
	colors['salmon3'] = SALMON3
	colors['salmon4'] = SALMON4
	colors['sandybrown'] = SANDYBROWN
	colors['sapgreen'] = SAPGREEN
	colors['seagreen1'] = SEAGREEN1
	colors['seagreen2'] = SEAGREEN2
	colors['seagreen3'] = SEAGREEN3
	colors['seagreen4'] = SEAGREEN4
	colors['seashell1'] = SEASHELL1
	colors['seashell2'] = SEASHELL2
	colors['seashell3'] = SEASHELL3
	colors['seashell4'] = SEASHELL4
	colors['sepia'] = SEPIA
	colors['sgibeet'] = SGIBEET
	colors['sgibrightgray'] = SGIBRIGHTGRAY
	colors['sgichartreuse'] = SGICHARTREUSE
	colors['sgidarkgray'] = SGIDARKGRAY
	colors['sgigray12'] = SGIGRAY12
	colors['sgigray16'] = SGIGRAY16
	colors['sgigray32'] = SGIGRAY32
	colors['sgigray36'] = SGIGRAY36
	colors['sgigray52'] = SGIGRAY52
	colors['sgigray56'] = SGIGRAY56
	colors['sgigray72'] = SGIGRAY72
	colors['sgigray76'] = SGIGRAY76
	colors['sgigray92'] = SGIGRAY92
	colors['sgigray96'] = SGIGRAY96
	colors['sgilightblue'] = SGILIGHTBLUE
	colors['sgilightgray'] = SGILIGHTGRAY
	colors['sgiolivedrab'] = SGIOLIVEDRAB
	colors['sgisalmon'] = SGISALMON
	colors['sgislateblue'] = SGISLATEBLUE
	colors['sgiteal'] = SGITEAL
	colors['sienna'] = SIENNA
	colors['sienna1'] = SIENNA1
	colors['sienna2'] = SIENNA2
	colors['sienna3'] = SIENNA3
	colors['sienna4'] = SIENNA4
	colors['silver'] = SILVER
	colors['skyblue'] = SKYBLUE
	colors['skyblue1'] = SKYBLUE1
	colors['skyblue2'] = SKYBLUE2
	colors['skyblue3'] = SKYBLUE3
	colors['skyblue4'] = SKYBLUE4
	colors['slateblue'] = SLATEBLUE
	colors['slateblue1'] = SLATEBLUE1
	colors['slateblue2'] = SLATEBLUE2
	colors['slateblue3'] = SLATEBLUE3
	colors['slateblue4'] = SLATEBLUE4
	colors['slategray'] = SLATEGRAY
	colors['slategray1'] = SLATEGRAY1
	colors['slategray2'] = SLATEGRAY2
	colors['slategray3'] = SLATEGRAY3
	colors['slategray4'] = SLATEGRAY4
	colors['snow1'] = SNOW1
	colors['snow2'] = SNOW2
	colors['snow3'] = SNOW3
	colors['snow4'] = SNOW4
	colors['springgreen'] = SPRINGGREEN
	colors['springgreen1'] = SPRINGGREEN1
	colors['springgreen2'] = SPRINGGREEN2
	colors['springgreen3'] = SPRINGGREEN3
	colors['steelblue'] = STEELBLUE
	colors['steelblue1'] = STEELBLUE1
	colors['steelblue2'] = STEELBLUE2
	colors['steelblue3'] = STEELBLUE3
	colors['steelblue4'] = STEELBLUE4
	colors['tan'] = TAN
	colors['tan1'] = TAN1
	colors['tan2'] = TAN2
	colors['tan3'] = TAN3
	colors['tan4'] = TAN4
	colors['teal'] = TEAL
	colors['thistle'] = THISTLE
	colors['thistle1'] = THISTLE1
	colors['thistle2'] = THISTLE2
	colors['thistle3'] = THISTLE3
	colors['thistle4'] = THISTLE4
	colors['tomato1'] = TOMATO1
	colors['tomato2'] = TOMATO2
	colors['tomato3'] = TOMATO3
	colors['tomato4'] = TOMATO4
	colors['turquoise'] = TURQUOISE
	colors['turquoise1'] = TURQUOISE1
	colors['turquoise2'] = TURQUOISE2
	colors['turquoise3'] = TURQUOISE3
	colors['turquoise4'] = TURQUOISE4
	colors['turquoiseblue'] = TURQUOISEBLUE
	colors['violet'] = VIOLET
	colors['violetred'] = VIOLETRED
	colors['violetred1'] = VIOLETRED1
	colors['violetred2'] = VIOLETRED2
	colors['violetred3'] = VIOLETRED3
	colors['violetred4'] = VIOLETRED4
	colors['warmgrey'] = WARMGREY
	colors['wheat'] = WHEAT
	colors['wheat1'] = WHEAT1
	colors['wheat2'] = WHEAT2
	colors['wheat3'] = WHEAT3
	colors['wheat4'] = WHEAT4
	colors['white'] = WHITE
	colors['whitesmoke'] = WHITESMOKE
	colors['whitesmoke'] = WHITESMOKE
	colors['yellow1'] = YELLOW1
	colors['yellow2'] = YELLOW2
	colors['yellow3'] = YELLOW3
	colors['yellow4'] = YELLOW4
	colors = OrderedDict(sorted(colors.items(), key=lambda t: t[0]))

*Thanks to cloford.com for all the color names.

Written by Nat Dunn. Follow Nat on Twitter.


Related Articles

  1. Fixing WebVTT Times with Python
  2. Using Python to Convert Images to WEBP
  3. Scientific Notation in Python
  4. Understanding Python’s __main__ variable
  5. Converting Leading Tabs to Spaces with Python
  6. Python Clocks Explained
  7. Python: isdigit() vs. isdecimal()
  8. Maximum recursion depth exceeded while calling a Python object
  9. When to use Static Methods in Python? Never
  10. Finally, a use case for finally – Python Exception Handling
  11. Python Coding Challenge: Two People with the Same Birthday
  12. How to Create a Simple Simulation in Python – Numeric Data
  13. Collatz Conjecture in Python
  14. Associate Python Files with IDLE
  15. How to find all your Python installations on Windows (and Mac)
  16. Python Color Constants Module (this article)
  17. A Python Model for Ping Pong Matches
  18. Bulk Convert Python files to IPython Notebook Files (py to ipynb conversion)
  19. pow(x, y, z) more efficient than x**y % z and other options
  20. Python’s date.strftime() slower than str(), split, unpack, and concatenate?
  21. Bi-directional Dictionary in Python
  22. Creating an Email Decorator with Python and AWS
  23. Change Default autosave Interval in JupyterLab
  24. Basic Python Programming Exercise: A Penny Doubled Every Day
  25. Simple Python Script for Extracting Text from an SRT File
  26. Python Virtual Environments with venv
  27. Mapping python to Python 3 on Your Mac
  28. How to Make IDLE the Default Editor for Python Files on Windows
  29. How to Do Ternary Operator Assignment in Python
  30. How to Convert Seconds to Years with Python
  31. How to Create a Python Package
  32. How to Read a File with Python
  33. How to Check the Operating System with Python
  34. How to Use enumerate() to Print a Numbered List in Python
  35. How to Repeatedly Append to a String in Python
  36. Checking your Sitemap for Broken Links with Python
  37. How to do Simultaneous Assignment in Python
  38. Visual Studio Code - Opening Files with Python open()
  39. How to Slice Strings in Python
  40. How Python Finds Imported Modules
  41. How to Merge Dictionaries in Python
  42. How to Index Strings in Python
  43. How to Create a Tuple in Python