"""Provide RGB color constants and a colors dictionary with
elements formatted: colors[colorname] = CONSTANT"""
from collections import namedtuple, OrderedDict
# import numpy as np
[docs]
Color = namedtuple('RGB','red, green, blue')
#Color Contants
[docs]
ALICEBLUE = RGB(240, 248, 255)
[docs]
ANTIQUEWHITE = RGB(250, 235, 215)
[docs]
ANTIQUEWHITE1 = RGB(255, 239, 219)
[docs]
ANTIQUEWHITE2 = RGB(238, 223, 204)
[docs]
ANTIQUEWHITE3 = RGB(205, 192, 176)
[docs]
ANTIQUEWHITE4 = RGB(139, 131, 120)
[docs]
AQUA = RGB(0, 255, 255)
[docs]
AQUAMARINE1 = RGB(127, 255, 212)
[docs]
AQUAMARINE2 = RGB(118, 238, 198)
[docs]
AQUAMARINE3 = RGB(102, 205, 170)
[docs]
AQUAMARINE4 = RGB(69, 139, 116)
[docs]
AZURE1 = RGB(240, 255, 255)
[docs]
AZURE2 = RGB(224, 238, 238)
[docs]
AZURE3 = RGB(193, 205, 205)
[docs]
AZURE4 = RGB(131, 139, 139)
[docs]
BANANA = RGB(227, 207, 87)
[docs]
BEIGE = RGB(245, 245, 220)
[docs]
BISQUE1 = RGB(255, 228, 196)
[docs]
BISQUE2 = RGB(238, 213, 183)
[docs]
BISQUE3 = RGB(205, 183, 158)
[docs]
BISQUE4 = RGB(139, 125, 107)
[docs]
BLANCHEDALMOND = RGB(255, 235, 205)
[docs]
BLUEVIOLET = RGB(138, 43, 226)
[docs]
BRICK = RGB(156, 102, 31)
[docs]
BROWN = RGB(165, 42, 42)
[docs]
BROWN1 = RGB(255, 64, 64)
[docs]
BROWN2 = RGB(238, 59, 59)
[docs]
BROWN3 = RGB(205, 51, 51)
[docs]
BROWN4 = RGB(139, 35, 35)
[docs]
BURLYWOOD = RGB(222, 184, 135)
[docs]
BURLYWOOD1 = RGB(255, 211, 155)
[docs]
BURLYWOOD2 = RGB(238, 197, 145)
[docs]
BURLYWOOD3 = RGB(205, 170, 125)
[docs]
BURLYWOOD4 = RGB(139, 115, 85)
[docs]
BURNTSIENNA = RGB(138, 54, 15)
[docs]
BURNTUMBER = RGB(138, 51, 36)
[docs]
CADETBLUE = RGB(95, 158, 160)
[docs]
CADETBLUE1 = RGB(152, 245, 255)
[docs]
CADETBLUE2 = RGB(142, 229, 238)
[docs]
CADETBLUE3 = RGB(122, 197, 205)
[docs]
CADETBLUE4 = RGB(83, 134, 139)
[docs]
CADMIUMORANGE = RGB(255, 97, 3)
[docs]
CADMIUMYELLOW = RGB(255, 153, 18)
[docs]
CARROT = RGB(237, 145, 33)
[docs]
CHARTREUSE1 = RGB(127, 255, 0)
[docs]
CHARTREUSE2 = RGB(118, 238, 0)
[docs]
CHARTREUSE3 = RGB(102, 205, 0)
[docs]
CHARTREUSE4 = RGB(69, 139, 0)
[docs]
CHOCOLATE = RGB(210, 105, 30)
[docs]
CHOCOLATE1 = RGB(255, 127, 36)
[docs]
CHOCOLATE2 = RGB(238, 118, 33)
[docs]
CHOCOLATE3 = RGB(205, 102, 29)
[docs]
CHOCOLATE4 = RGB(139, 69, 19)
[docs]
COBALT = RGB(61, 89, 171)
[docs]
COBALTGREEN = RGB(61, 145, 64)
[docs]
COLDGREY = RGB(128, 138, 135)
[docs]
CORAL = RGB(255, 127, 80)
[docs]
CORAL1 = RGB(255, 114, 86)
[docs]
CORAL2 = RGB(238, 106, 80)
[docs]
CORAL3 = RGB(205, 91, 69)
[docs]
CORAL4 = RGB(139, 62, 47)
[docs]
CORNFLOWERBLUE = RGB(100, 149, 237)
[docs]
CORNSILK1 = RGB(255, 248, 220)
[docs]
CORNSILK2 = RGB(238, 232, 205)
[docs]
CORNSILK3 = RGB(205, 200, 177)
[docs]
CORNSILK4 = RGB(139, 136, 120)
[docs]
CRIMSON = RGB(220, 20, 60)
[docs]
CYAN2 = RGB(0, 238, 238)
[docs]
CYAN3 = RGB(0, 205, 205)
[docs]
CYAN4 = RGB(0, 139, 139)
[docs]
DARKGOLDENROD = RGB(184, 134, 11)
[docs]
DARKGOLDENROD1 = RGB(255, 185, 15)
[docs]
DARKGOLDENROD2 = RGB(238, 173, 14)
[docs]
DARKGOLDENROD3 = RGB(205, 149, 12)
[docs]
DARKGOLDENROD4 = RGB(139, 101, 8)
[docs]
DARKGRAY = RGB(169, 169, 169)
[docs]
DARKGREEN = RGB(0, 100, 0)
[docs]
DARKKHAKI = RGB(189, 183, 107)
[docs]
DARKOLIVEGREEN = RGB(85, 107, 47)
[docs]
DARKOLIVEGREEN1 = RGB(202, 255, 112)
[docs]
DARKOLIVEGREEN2 = RGB(188, 238, 104)
[docs]
DARKOLIVEGREEN3 = RGB(162, 205, 90)
[docs]
DARKOLIVEGREEN4 = RGB(110, 139, 61)
[docs]
DARKORANGE = RGB(255, 140, 0)
[docs]
DARKORANGE1 = RGB(255, 127, 0)
[docs]
DARKORANGE2 = RGB(238, 118, 0)
[docs]
DARKORANGE3 = RGB(205, 102, 0)
[docs]
DARKORANGE4 = RGB(139, 69, 0)
[docs]
DARKORCHID = RGB(153, 50, 204)
[docs]
DARKORCHID1 = RGB(191, 62, 255)
[docs]
DARKORCHID2 = RGB(178, 58, 238)
[docs]
DARKORCHID3 = RGB(154, 50, 205)
[docs]
DARKORCHID4 = RGB(104, 34, 139)
[docs]
DARKSALMON = RGB(233, 150, 122)
[docs]
DARKSEAGREEN = RGB(143, 188, 143)
[docs]
DARKSEAGREEN1 = RGB(193, 255, 193)
[docs]
DARKSEAGREEN2 = RGB(180, 238, 180)
[docs]
DARKSEAGREEN3 = RGB(155, 205, 155)
[docs]
DARKSEAGREEN4 = RGB(105, 139, 105)
[docs]
DARKSLATEBLUE = RGB(72, 61, 139)
[docs]
DARKSLATEGRAY = RGB(47, 79, 79)
[docs]
DARKSLATEGRAY1 = RGB(151, 255, 255)
[docs]
DARKSLATEGRAY2 = RGB(141, 238, 238)
[docs]
DARKSLATEGRAY3 = RGB(121, 205, 205)
[docs]
DARKSLATEGRAY4 = RGB(82, 139, 139)
[docs]
DARKTURQUOISE = RGB(0, 206, 209)
[docs]
DARKVIOLET = RGB(148, 0, 211)
[docs]
DEEPPINK1 = RGB(255, 20, 147)
[docs]
DEEPPINK2 = RGB(238, 18, 137)
[docs]
DEEPPINK3 = RGB(205, 16, 118)
[docs]
DEEPPINK4 = RGB(139, 10, 80)
[docs]
DEEPSKYBLUE1 = RGB(0, 191, 255)
[docs]
DEEPSKYBLUE2 = RGB(0, 178, 238)
[docs]
DEEPSKYBLUE3 = RGB(0, 154, 205)
[docs]
DEEPSKYBLUE4 = RGB(0, 104, 139)
DIMGRAY = RGB(105, 105, 105)
[docs]
DIMGRAY = RGB(105, 105, 105)
[docs]
DODGERBLUE1 = RGB(30, 144, 255)
[docs]
DODGERBLUE2 = RGB(28, 134, 238)
[docs]
DODGERBLUE3 = RGB(24, 116, 205)
[docs]
DODGERBLUE4 = RGB(16, 78, 139)
[docs]
EGGSHELL = RGB(252, 230, 201)
[docs]
EMERALDGREEN = RGB(0, 201, 87)
[docs]
FIREBRICK = RGB(178, 34, 34)
[docs]
FIREBRICK1 = RGB(255, 48, 48)
[docs]
FIREBRICK2 = RGB(238, 44, 44)
[docs]
FIREBRICK3 = RGB(205, 38, 38)
[docs]
FIREBRICK4 = RGB(139, 26, 26)
[docs]
FLESH = RGB(255, 125, 64)
[docs]
FLORALWHITE = RGB(255, 250, 240)
[docs]
FORESTGREEN = RGB(34, 139, 34)
[docs]
GAINSBORO = RGB(220, 220, 220)
[docs]
GHOSTWHITE = RGB(248, 248, 255)
[docs]
GOLD1 = RGB(255, 215, 0)
[docs]
GOLD2 = RGB(238, 201, 0)
[docs]
GOLD3 = RGB(205, 173, 0)
[docs]
GOLD4 = RGB(139, 117, 0)
[docs]
GOLDENROD = RGB(218, 165, 32)
[docs]
GOLDENROD1 = RGB(255, 193, 37)
[docs]
GOLDENROD2 = RGB(238, 180, 34)
[docs]
GOLDENROD3 = RGB(205, 155, 29)
[docs]
GOLDENROD4 = RGB(139, 105, 20)
[docs]
GRAY = RGB(128, 128, 128)
[docs]
GRAY10 = RGB(26, 26, 26)
[docs]
GRAY11 = RGB(28, 28, 28)
[docs]
GRAY12 = RGB(31, 31, 31)
[docs]
GRAY13 = RGB(33, 33, 33)
[docs]
GRAY14 = RGB(36, 36, 36)
[docs]
GRAY15 = RGB(38, 38, 38)
[docs]
GRAY16 = RGB(41, 41, 41)
[docs]
GRAY17 = RGB(43, 43, 43)
[docs]
GRAY18 = RGB(46, 46, 46)
[docs]
GRAY19 = RGB(48, 48, 48)
[docs]
GRAY20 = RGB(51, 51, 51)
[docs]
GRAY21 = RGB(54, 54, 54)
[docs]
GRAY22 = RGB(56, 56, 56)
[docs]
GRAY23 = RGB(59, 59, 59)
[docs]
GRAY24 = RGB(61, 61, 61)
[docs]
GRAY25 = RGB(64, 64, 64)
[docs]
GRAY26 = RGB(66, 66, 66)
[docs]
GRAY27 = RGB(69, 69, 69)
[docs]
GRAY28 = RGB(71, 71, 71)
[docs]
GRAY29 = RGB(74, 74, 74)
[docs]
GRAY30 = RGB(77, 77, 77)
[docs]
GRAY31 = RGB(79, 79, 79)
[docs]
GRAY32 = RGB(82, 82, 82)
[docs]
GRAY33 = RGB(84, 84, 84)
[docs]
GRAY34 = RGB(87, 87, 87)
[docs]
GRAY35 = RGB(89, 89, 89)
[docs]
GRAY36 = RGB(92, 92, 92)
[docs]
GRAY37 = RGB(94, 94, 94)
[docs]
GRAY38 = RGB(97, 97, 97)
[docs]
GRAY39 = RGB(99, 99, 99)
[docs]
GRAY4 = RGB(10, 10, 10)
[docs]
GRAY40 = RGB(102, 102, 102)
[docs]
GRAY42 = RGB(107, 107, 107)
[docs]
GRAY43 = RGB(110, 110, 110)
[docs]
GRAY44 = RGB(112, 112, 112)
[docs]
GRAY45 = RGB(115, 115, 115)
[docs]
GRAY46 = RGB(117, 117, 117)
[docs]
GRAY47 = RGB(120, 120, 120)
[docs]
GRAY48 = RGB(122, 122, 122)
[docs]
GRAY49 = RGB(125, 125, 125)
[docs]
GRAY5 = RGB(13, 13, 13)
[docs]
GRAY50 = RGB(127, 127, 127)
[docs]
GRAY51 = RGB(130, 130, 130)
[docs]
GRAY52 = RGB(133, 133, 133)
[docs]
GRAY53 = RGB(135, 135, 135)
[docs]
GRAY54 = RGB(138, 138, 138)
[docs]
GRAY55 = RGB(140, 140, 140)
[docs]
GRAY56 = RGB(143, 143, 143)
[docs]
GRAY57 = RGB(145, 145, 145)
[docs]
GRAY58 = RGB(148, 148, 148)
[docs]
GRAY59 = RGB(150, 150, 150)
[docs]
GRAY6 = RGB(15, 15, 15)
[docs]
GRAY60 = RGB(153, 153, 153)
[docs]
GRAY61 = RGB(156, 156, 156)
[docs]
GRAY62 = RGB(158, 158, 158)
[docs]
GRAY63 = RGB(161, 161, 161)
[docs]
GRAY64 = RGB(163, 163, 163)
[docs]
GRAY65 = RGB(166, 166, 166)
[docs]
GRAY66 = RGB(168, 168, 168)
[docs]
GRAY67 = RGB(171, 171, 171)
[docs]
GRAY68 = RGB(173, 173, 173)
[docs]
GRAY69 = RGB(176, 176, 176)
[docs]
GRAY7 = RGB(18, 18, 18)
[docs]
GRAY70 = RGB(179, 179, 179)
[docs]
GRAY71 = RGB(181, 181, 181)
[docs]
GRAY72 = RGB(184, 184, 184)
[docs]
GRAY73 = RGB(186, 186, 186)
[docs]
GRAY74 = RGB(189, 189, 189)
[docs]
GRAY75 = RGB(191, 191, 191)
[docs]
GRAY76 = RGB(194, 194, 194)
[docs]
GRAY77 = RGB(196, 196, 196)
[docs]
GRAY78 = RGB(199, 199, 199)
[docs]
GRAY79 = RGB(201, 201, 201)
[docs]
GRAY8 = RGB(20, 20, 20)
[docs]
GRAY80 = RGB(204, 204, 204)
[docs]
GRAY81 = RGB(207, 207, 207)
[docs]
GRAY82 = RGB(209, 209, 209)
[docs]
GRAY83 = RGB(212, 212, 212)
[docs]
GRAY84 = RGB(214, 214, 214)
[docs]
GRAY85 = RGB(217, 217, 217)
[docs]
GRAY86 = RGB(219, 219, 219)
[docs]
GRAY87 = RGB(222, 222, 222)
[docs]
GRAY88 = RGB(224, 224, 224)
[docs]
GRAY89 = RGB(227, 227, 227)
[docs]
GRAY9 = RGB(23, 23, 23)
[docs]
GRAY90 = RGB(229, 229, 229)
[docs]
GRAY91 = RGB(232, 232, 232)
[docs]
GRAY92 = RGB(235, 235, 235)
[docs]
GRAY93 = RGB(237, 237, 237)
[docs]
GRAY94 = RGB(240, 240, 240)
[docs]
GRAY95 = RGB(242, 242, 242)
[docs]
GRAY97 = RGB(247, 247, 247)
[docs]
GRAY98 = RGB(250, 250, 250)
[docs]
GRAY99 = RGB(252, 252, 252)
[docs]
GREEN1 = RGB(0, 255, 0)
[docs]
GREEN2 = RGB(0, 238, 0)
[docs]
GREEN3 = RGB(0, 205, 0)
[docs]
GREEN4 = RGB(0, 139, 0)
[docs]
GREENYELLOW = RGB(173, 255, 47)
[docs]
HONEYDEW1 = RGB(240, 255, 240)
[docs]
HONEYDEW2 = RGB(224, 238, 224)
[docs]
HONEYDEW3 = RGB(193, 205, 193)
[docs]
HONEYDEW4 = RGB(131, 139, 131)
[docs]
HOTPINK = RGB(255, 105, 180)
[docs]
HOTPINK1 = RGB(255, 110, 180)
[docs]
HOTPINK2 = RGB(238, 106, 167)
[docs]
HOTPINK3 = RGB(205, 96, 144)
[docs]
HOTPINK4 = RGB(139, 58, 98)
INDIANRED = RGB(176, 23, 31)
[docs]
INDIANRED = RGB(205, 92, 92)
[docs]
INDIANRED1 = RGB(255, 106, 106)
[docs]
INDIANRED2 = RGB(238, 99, 99)
[docs]
INDIANRED3 = RGB(205, 85, 85)
[docs]
INDIANRED4 = RGB(139, 58, 58)
[docs]
INDIGO = RGB(75, 0, 130)
[docs]
IVORY1 = RGB(255, 255, 240)
[docs]
IVORY2 = RGB(238, 238, 224)
[docs]
IVORY3 = RGB(205, 205, 193)
[docs]
IVORY4 = RGB(139, 139, 131)
[docs]
IVORYBLACK = RGB(41, 36, 33)
[docs]
KHAKI = RGB(240, 230, 140)
[docs]
KHAKI1 = RGB(255, 246, 143)
[docs]
KHAKI2 = RGB(238, 230, 133)
[docs]
KHAKI3 = RGB(205, 198, 115)
[docs]
KHAKI4 = RGB(139, 134, 78)
[docs]
LAVENDER = RGB(230, 230, 250)
[docs]
LAVENDERBLUSH1 = RGB(255, 240, 245)
[docs]
LAVENDERBLUSH2 = RGB(238, 224, 229)
[docs]
LAVENDERBLUSH3 = RGB(205, 193, 197)
[docs]
LAVENDERBLUSH4 = RGB(139, 131, 134)
[docs]
LAWNGREEN = RGB(124, 252, 0)
[docs]
LEMONCHIFFON1 = RGB(255, 250, 205)
[docs]
LEMONCHIFFON2 = RGB(238, 233, 191)
[docs]
LEMONCHIFFON3 = RGB(205, 201, 165)
[docs]
LEMONCHIFFON4 = RGB(139, 137, 112)
[docs]
LIGHTBLUE = RGB(173, 216, 230)
[docs]
LIGHTBLUE1 = RGB(191, 239, 255)
[docs]
LIGHTBLUE2 = RGB(178, 223, 238)
[docs]
LIGHTBLUE3 = RGB(154, 192, 205)
[docs]
LIGHTBLUE4 = RGB(104, 131, 139)
[docs]
LIGHTCORAL = RGB(240, 128, 128)
[docs]
LIGHTCYAN1 = RGB(224, 255, 255)
[docs]
LIGHTCYAN2 = RGB(209, 238, 238)
[docs]
LIGHTCYAN3 = RGB(180, 205, 205)
[docs]
LIGHTCYAN4 = RGB(122, 139, 139)
[docs]
LIGHTGOLDENROD1 = RGB(255, 236, 139)
[docs]
LIGHTGOLDENROD2 = RGB(238, 220, 130)
[docs]
LIGHTGOLDENROD3 = RGB(205, 190, 112)
[docs]
LIGHTGOLDENROD4 = RGB(139, 129, 76)
[docs]
LIGHTGOLDENRODYELLOW = RGB(250, 250, 210)
[docs]
LIGHTGREY = RGB(211, 211, 211)
[docs]
LIGHTPINK = RGB(255, 182, 193)
[docs]
LIGHTPINK1 = RGB(255, 174, 185)
[docs]
LIGHTPINK2 = RGB(238, 162, 173)
[docs]
LIGHTPINK3 = RGB(205, 140, 149)
[docs]
LIGHTPINK4 = RGB(139, 95, 101)
[docs]
LIGHTSALMON1 = RGB(255, 160, 122)
[docs]
LIGHTSALMON2 = RGB(238, 149, 114)
[docs]
LIGHTSALMON3 = RGB(205, 129, 98)
[docs]
LIGHTSALMON4 = RGB(139, 87, 66)
[docs]
LIGHTSEAGREEN = RGB(32, 178, 170)
[docs]
LIGHTSKYBLUE = RGB(135, 206, 250)
[docs]
LIGHTSKYBLUE1 = RGB(176, 226, 255)
[docs]
LIGHTSKYBLUE2 = RGB(164, 211, 238)
[docs]
LIGHTSKYBLUE3 = RGB(141, 182, 205)
[docs]
LIGHTSKYBLUE4 = RGB(96, 123, 139)
[docs]
LIGHTSLATEBLUE = RGB(132, 112, 255)
[docs]
LIGHTSLATEGRAY = RGB(119, 136, 153)
[docs]
LIGHTSTEELBLUE = RGB(176, 196, 222)
[docs]
LIGHTSTEELBLUE1 = RGB(202, 225, 255)
[docs]
LIGHTSTEELBLUE2 = RGB(188, 210, 238)
[docs]
LIGHTSTEELBLUE3 = RGB(162, 181, 205)
[docs]
LIGHTSTEELBLUE4 = RGB(110, 123, 139)
[docs]
LIGHTYELLOW1 = RGB(255, 255, 224)
[docs]
LIGHTYELLOW2 = RGB(238, 238, 209)
[docs]
LIGHTYELLOW3 = RGB(205, 205, 180)
[docs]
LIGHTYELLOW4 = RGB(139, 139, 122)
[docs]
LIMEGREEN = RGB(50, 205, 50)
[docs]
LINEN = RGB(250, 240, 230)
[docs]
MAGENTA = RGB(255, 0, 255)
[docs]
MAGENTA2 = RGB(238, 0, 238)
[docs]
MAGENTA3 = RGB(205, 0, 205)
[docs]
MAGENTA4 = RGB(139, 0, 139)
[docs]
MANGANESEBLUE = RGB(3, 168, 158)
[docs]
MAROON = RGB(128, 0, 0)
[docs]
MAROON1 = RGB(255, 52, 179)
[docs]
MAROON2 = RGB(238, 48, 167)
[docs]
MAROON3 = RGB(205, 41, 144)
[docs]
MAROON4 = RGB(139, 28, 98)
[docs]
MEDIUMORCHID = RGB(186, 85, 211)
[docs]
MEDIUMORCHID1 = RGB(224, 102, 255)
[docs]
MEDIUMORCHID2 = RGB(209, 95, 238)
[docs]
MEDIUMORCHID3 = RGB(180, 82, 205)
[docs]
MEDIUMORCHID4 = RGB(122, 55, 139)
[docs]
MEDIUMPURPLE = RGB(147, 112, 219)
[docs]
MEDIUMPURPLE1 = RGB(171, 130, 255)
[docs]
MEDIUMPURPLE2 = RGB(159, 121, 238)
[docs]
MEDIUMPURPLE3 = RGB(137, 104, 205)
[docs]
MEDIUMPURPLE4 = RGB(93, 71, 139)
[docs]
MEDIUMSEAGREEN = RGB(60, 179, 113)
[docs]
MEDIUMSLATEBLUE = RGB(123, 104, 238)
[docs]
MEDIUMSPRINGGREEN = RGB(0, 250, 154)
[docs]
MEDIUMTURQUOISE = RGB(72, 209, 204)
[docs]
MEDIUMVIOLETRED = RGB(199, 21, 133)
[docs]
MELON = RGB(227, 168, 105)
[docs]
MIDNIGHTBLUE = RGB(25, 25, 112)
[docs]
MINT = RGB(189, 252, 201)
[docs]
MINTCREAM = RGB(245, 255, 250)
[docs]
MISTYROSE1 = RGB(255, 228, 225)
[docs]
MISTYROSE2 = RGB(238, 213, 210)
[docs]
MISTYROSE3 = RGB(205, 183, 181)
[docs]
MISTYROSE4 = RGB(139, 125, 123)
[docs]
MOCCASIN = RGB(255, 228, 181)
[docs]
NAVAJOWHITE1 = RGB(255, 222, 173)
[docs]
NAVAJOWHITE2 = RGB(238, 207, 161)
[docs]
NAVAJOWHITE3 = RGB(205, 179, 139)
[docs]
NAVAJOWHITE4 = RGB(139, 121, 94)
[docs]
OLDLACE = RGB(253, 245, 230)
[docs]
OLIVE = RGB(128, 128, 0)
[docs]
OLIVEDRAB = RGB(107, 142, 35)
[docs]
OLIVEDRAB1 = RGB(192, 255, 62)
[docs]
OLIVEDRAB2 = RGB(179, 238, 58)
[docs]
OLIVEDRAB3 = RGB(154, 205, 50)
[docs]
OLIVEDRAB4 = RGB(105, 139, 34)
[docs]
ORANGE = RGB(255, 128, 0)
[docs]
ORANGE1 = RGB(255, 165, 0)
[docs]
ORANGE2 = RGB(238, 154, 0)
[docs]
ORANGE3 = RGB(205, 133, 0)
[docs]
ORANGE4 = RGB(139, 90, 0)
[docs]
ORANGERED1 = RGB(255, 69, 0)
[docs]
ORANGERED2 = RGB(238, 64, 0)
[docs]
ORANGERED3 = RGB(205, 55, 0)
[docs]
ORANGERED4 = RGB(139, 37, 0)
[docs]
ORCHID = RGB(218, 112, 214)
[docs]
ORCHID1 = RGB(255, 131, 250)
[docs]
ORCHID2 = RGB(238, 122, 233)
[docs]
ORCHID3 = RGB(205, 105, 201)
[docs]
ORCHID4 = RGB(139, 71, 137)
[docs]
PALEGOLDENROD = RGB(238, 232, 170)
[docs]
PALEGREEN = RGB(152, 251, 152)
[docs]
PALEGREEN1 = RGB(154, 255, 154)
[docs]
PALEGREEN2 = RGB(144, 238, 144)
[docs]
PALEGREEN3 = RGB(124, 205, 124)
[docs]
PALEGREEN4 = RGB(84, 139, 84)
[docs]
PALETURQUOISE1 = RGB(187, 255, 255)
[docs]
PALETURQUOISE2 = RGB(174, 238, 238)
[docs]
PALETURQUOISE3 = RGB(150, 205, 205)
[docs]
PALETURQUOISE4 = RGB(102, 139, 139)
[docs]
PALEVIOLETRED = RGB(219, 112, 147)
[docs]
PALEVIOLETRED1 = RGB(255, 130, 171)
[docs]
PALEVIOLETRED2 = RGB(238, 121, 159)
[docs]
PALEVIOLETRED3 = RGB(205, 104, 137)
[docs]
PALEVIOLETRED4 = RGB(139, 71, 93)
[docs]
PAPAYAWHIP = RGB(255, 239, 213)
[docs]
PEACHPUFF1 = RGB(255, 218, 185)
[docs]
PEACHPUFF2 = RGB(238, 203, 173)
[docs]
PEACHPUFF3 = RGB(205, 175, 149)
[docs]
PEACHPUFF4 = RGB(139, 119, 101)
[docs]
PEACOCK = RGB(51, 161, 201)
[docs]
PINK = RGB(255, 192, 203)
[docs]
PINK1 = RGB(255, 181, 197)
[docs]
PINK2 = RGB(238, 169, 184)
[docs]
PINK3 = RGB(205, 145, 158)
[docs]
PINK4 = RGB(139, 99, 108)
[docs]
PLUM = RGB(221, 160, 221)
[docs]
PLUM1 = RGB(255, 187, 255)
[docs]
PLUM2 = RGB(238, 174, 238)
[docs]
PLUM3 = RGB(205, 150, 205)
[docs]
PLUM4 = RGB(139, 102, 139)
[docs]
POWDERBLUE = RGB(176, 224, 230)
[docs]
PURPLE = RGB(128, 0, 128)
[docs]
PURPLE1 = RGB(155, 48, 255)
[docs]
PURPLE2 = RGB(145, 44, 238)
[docs]
PURPLE3 = RGB(125, 38, 205)
[docs]
PURPLE4 = RGB(85, 26, 139)
[docs]
RASPBERRY = RGB(135, 38, 87)
[docs]
RAWSIENNA = RGB(199, 97, 20)
[docs]
ROSYBROWN = RGB(188, 143, 143)
[docs]
ROSYBROWN1 = RGB(255, 193, 193)
[docs]
ROSYBROWN2 = RGB(238, 180, 180)
[docs]
ROSYBROWN3 = RGB(205, 155, 155)
[docs]
ROSYBROWN4 = RGB(139, 105, 105)
[docs]
ROYALBLUE = RGB(65, 105, 225)
[docs]
ROYALBLUE1 = RGB(72, 118, 255)
[docs]
ROYALBLUE2 = RGB(67, 110, 238)
[docs]
ROYALBLUE3 = RGB(58, 95, 205)
[docs]
ROYALBLUE4 = RGB(39, 64, 139)
[docs]
SALMON = RGB(250, 128, 114)
[docs]
SALMON1 = RGB(255, 140, 105)
[docs]
SALMON2 = RGB(238, 130, 98)
[docs]
SALMON3 = RGB(205, 112, 84)
[docs]
SALMON4 = RGB(139, 76, 57)
[docs]
SANDYBROWN = RGB(244, 164, 96)
[docs]
SAPGREEN = RGB(48, 128, 20)
[docs]
SEAGREEN1 = RGB(84, 255, 159)
[docs]
SEAGREEN2 = RGB(78, 238, 148)
[docs]
SEAGREEN3 = RGB(67, 205, 128)
[docs]
SEAGREEN4 = RGB(46, 139, 87)
[docs]
SEASHELL1 = RGB(255, 245, 238)
[docs]
SEASHELL2 = RGB(238, 229, 222)
[docs]
SEASHELL3 = RGB(205, 197, 191)
[docs]
SEASHELL4 = RGB(139, 134, 130)
[docs]
SEPIA = RGB(94, 38, 18)
[docs]
SGIBEET = RGB(142, 56, 142)
[docs]
SGIBRIGHTGRAY = RGB(197, 193, 170)
[docs]
SGICHARTREUSE = RGB(113, 198, 113)
[docs]
SGIDARKGRAY = RGB(85, 85, 85)
[docs]
SGIGRAY12 = RGB(30, 30, 30)
[docs]
SGIGRAY16 = RGB(40, 40, 40)
[docs]
SGIGRAY32 = RGB(81, 81, 81)
[docs]
SGIGRAY36 = RGB(91, 91, 91)
[docs]
SGIGRAY52 = RGB(132, 132, 132)
[docs]
SGIGRAY56 = RGB(142, 142, 142)
[docs]
SGIGRAY72 = RGB(183, 183, 183)
[docs]
SGIGRAY76 = RGB(193, 193, 193)
[docs]
SGIGRAY92 = RGB(234, 234, 234)
[docs]
SGIGRAY96 = RGB(244, 244, 244)
[docs]
SGILIGHTBLUE = RGB(125, 158, 192)
[docs]
SGILIGHTGRAY = RGB(170, 170, 170)
[docs]
SGIOLIVEDRAB = RGB(142, 142, 56)
[docs]
SGISALMON = RGB(198, 113, 113)
[docs]
SGISLATEBLUE = RGB(113, 113, 198)
[docs]
SGITEAL = RGB(56, 142, 142)
[docs]
SIENNA = RGB(160, 82, 45)
[docs]
SIENNA1 = RGB(255, 130, 71)
[docs]
SIENNA2 = RGB(238, 121, 66)
[docs]
SIENNA3 = RGB(205, 104, 57)
[docs]
SIENNA4 = RGB(139, 71, 38)
[docs]
SILVER = RGB(192, 192, 192)
[docs]
SKYBLUE = RGB(135, 206, 235)
[docs]
SKYBLUE1 = RGB(135, 206, 255)
[docs]
SKYBLUE2 = RGB(126, 192, 238)
[docs]
SKYBLUE3 = RGB(108, 166, 205)
[docs]
SKYBLUE4 = RGB(74, 112, 139)
[docs]
SLATEBLUE = RGB(106, 90, 205)
[docs]
SLATEBLUE1 = RGB(131, 111, 255)
[docs]
SLATEBLUE2 = RGB(122, 103, 238)
[docs]
SLATEBLUE3 = RGB(105, 89, 205)
[docs]
SLATEBLUE4 = RGB(71, 60, 139)
[docs]
SLATEGRAY = RGB(112, 128, 144)
[docs]
SLATEGRAY1 = RGB(198, 226, 255)
[docs]
SLATEGRAY2 = RGB(185, 211, 238)
[docs]
SLATEGRAY3 = RGB(159, 182, 205)
[docs]
SLATEGRAY4 = RGB(108, 123, 139)
[docs]
SNOW1 = RGB(255, 250, 250)
[docs]
SNOW2 = RGB(238, 233, 233)
[docs]
SNOW3 = RGB(205, 201, 201)
[docs]
SNOW4 = RGB(139, 137, 137)
[docs]
SPRINGGREEN = RGB(0, 255, 127)
[docs]
SPRINGGREEN1 = RGB(0, 238, 118)
[docs]
SPRINGGREEN2 = RGB(0, 205, 102)
[docs]
SPRINGGREEN3 = RGB(0, 139, 69)
[docs]
STEELBLUE = RGB(70, 130, 180)
[docs]
STEELBLUE1 = RGB(99, 184, 255)
[docs]
STEELBLUE2 = RGB(92, 172, 238)
[docs]
STEELBLUE3 = RGB(79, 148, 205)
[docs]
STEELBLUE4 = RGB(54, 100, 139)
[docs]
TAN = RGB(210, 180, 140)
[docs]
TAN1 = RGB(255, 165, 79)
[docs]
TAN2 = RGB(238, 154, 73)
[docs]
TAN3 = RGB(205, 133, 63)
[docs]
TAN4 = RGB(139, 90, 43)
[docs]
TEAL = RGB(0, 128, 128)
[docs]
THISTLE = RGB(216, 191, 216)
[docs]
THISTLE1 = RGB(255, 225, 255)
[docs]
THISTLE2 = RGB(238, 210, 238)
[docs]
THISTLE3 = RGB(205, 181, 205)
[docs]
THISTLE4 = RGB(139, 123, 139)
[docs]
TOMATO1 = RGB(255, 99, 71)
[docs]
TOMATO2 = RGB(238, 92, 66)
[docs]
TOMATO3 = RGB(205, 79, 57)
[docs]
TOMATO4 = RGB(139, 54, 38)
[docs]
TURQUOISE = RGB(64, 224, 208)
[docs]
TURQUOISE1 = RGB(0, 245, 255)
[docs]
TURQUOISE2 = RGB(0, 229, 238)
[docs]
TURQUOISE3 = RGB(0, 197, 205)
[docs]
TURQUOISE4 = RGB(0, 134, 139)
[docs]
TURQUOISEBLUE = RGB(0, 199, 140)
[docs]
VIOLET = RGB(238, 130, 238)
[docs]
VIOLETRED = RGB(208, 32, 144)
[docs]
VIOLETRED1 = RGB(255, 62, 150)
[docs]
VIOLETRED2 = RGB(238, 58, 140)
[docs]
VIOLETRED3 = RGB(205, 50, 120)
[docs]
VIOLETRED4 = RGB(139, 34, 82)
[docs]
WARMGREY = RGB(128, 128, 105)
[docs]
WHEAT = RGB(245, 222, 179)
[docs]
WHEAT1 = RGB(255, 231, 186)
[docs]
WHEAT2 = RGB(238, 216, 174)
[docs]
WHEAT3 = RGB(205, 186, 150)
[docs]
WHEAT4 = RGB(139, 126, 102)
[docs]
WHITE = RGB(255, 255, 255)
WHITESMOKE = RGB(245, 245, 245)
[docs]
WHITESMOKE = RGB(245, 245, 245)
[docs]
YELLOW1 = RGB(255, 255, 0)
[docs]
YELLOW2 = RGB(238, 238, 0)
[docs]
YELLOW3 = RGB(205, 205, 0)
[docs]
YELLOW4 = RGB(139, 139, 0)
_colors = OrderedDict()
#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
[docs]
_colors = OrderedDict(sorted(_colors.items(), key=lambda t: t[0]))
[docs]
class Colors():
@classmethod
[docs]
def rgba_float(cls, key) -> list[float, float, float, float]:
try:
rgb = _colors[key]
rgb = [float(rgb.red), float(rgb.green), float(rgb.blue)]
except:
rgb = [255.,255.,255.]
return [rgb[0]/255.,rgb[1]/255., rgb[2]/255., 1.0]
@classmethod
[docs]
def rgb_withalpha_float(cls, key, alpha:float) -> list[float, float, float, float]:
try:
rgb = _colors[key]
rgb = [float(rgb.red), float(rgb.green), float(rgb.blue)]
except:
rgb = [255.,255.,255.]
return [rgb[0]/255.,rgb[1]/255., rgb[2]/255., alpha]
@classmethod
[docs]
def rgba_int(cls, key) -> list[int, int, int, int]:
try:
rgb = _colors[key]
rgb = [rgb.red, rgb.green, rgb.blue]
except:
rgb=[255,255,255]
return [rgb[0],rgb[1], rgb[2], 255]