
# Copied these colors from this repository:
# https://github.com/ubernostrum/webcolors/blob/master/src/webcolors.py

def mktuple(r,g,b):
  return (r,g,b)

class Colors:
  def __init__(self, func = mktuple):
    self.aqua                  =  func( 0x00, 0xff, 0xff )
    self.black                 =  func( 0x00, 0x00, 0x00 )
    self.blue                  =  func( 0x00, 0x00, 0xff )
    self.fuchsia               =  func( 0xff, 0x00, 0xff )
    self.green                 =  func( 0x00, 0x80, 0x00 )
    self.gray                  =  func( 0x80, 0x80, 0x80 )
    self.lime                  =  func( 0x00, 0xff, 0x00 )
    self.maroon                =  func( 0x80, 0x00, 0x00 )
    self.navy                  =  func( 0x00, 0x00, 0x80 )
    self.olive                 =  func( 0x80, 0x80, 0x00 )
    self.purple                =  func( 0x80, 0x00, 0x80 )
    self.red                   =  func( 0xff, 0x00, 0x00 )
    self.silver                =  func( 0xc0, 0xc0, 0xc0 )
    self.teal                  =  func( 0x00, 0x80, 0x80 )
    self.white                 =  func( 0xff, 0xff, 0xff )
    self.yellow                =  func( 0xff, 0xff, 0x00 )
    self.orange                =  func( 0xff, 0xa5, 0x00 )
    self.aliceblue             =  func( 0xf0, 0xf8, 0xff )
    self.antiquewhite          =  func( 0xfa, 0xeb, 0xd7 )
    self.aqua                  =  func( 0x00, 0xff, 0xff )
    self.aquamarine            =  func( 0x7f, 0xff, 0xd4 )
    self.azure                 =  func( 0xf0, 0xff, 0xff )
    self.beige                 =  func( 0xf5, 0xf5, 0xdc )
    self.bisque                =  func( 0xff, 0xe4, 0xc4 )
    self.black                 =  func( 0x00, 0x00, 0x00 )
    self.blanchedalmond        =  func( 0xff, 0xeb, 0xcd )
    self.blue                  =  func( 0x00, 0x00, 0xff )
    self.blueviolet            =  func( 0x8a, 0x2b, 0xe2 )
    self.brown                 =  func( 0xa5, 0x2a, 0x2a )
    self.burlywood             =  func( 0xde, 0xb8, 0x87 )
    self.cadetblue             =  func( 0x5f, 0x9e, 0xa0 )
    self.chartreuse            =  func( 0x7f, 0xff, 0x00 )
    self.chocolate             =  func( 0xd2, 0x69, 0x1e )
    self.coral                 =  func( 0xff, 0x7f, 0x50 )
    self.cornflowerblue        =  func( 0x64, 0x95, 0xed )
    self.cornsilk              =  func( 0xff, 0xf8, 0xdc )
    self.crimson               =  func( 0xdc, 0x14, 0x3c )
    self.cyan                  =  func( 0x00, 0xff, 0xff )
    self.darkblue              =  func( 0x00, 0x00, 0x8b )
    self.darkcyan              =  func( 0x00, 0x8b, 0x8b )
    self.darkgoldenrod         =  func( 0xb8, 0x86, 0x0b )
    self.darkgray              =  func( 0xa9, 0xa9, 0xa9 )
    self.darkgrey              =  func( 0xa9, 0xa9, 0xa9 )
    self.darkgreen             =  func( 0x00, 0x64, 0x00 )
    self.darkkhaki             =  func( 0xbd, 0xb7, 0x6b )
    self.darkmagenta           =  func( 0x8b, 0x00, 0x8b )
    self.darkolivegreen        =  func( 0x55, 0x6b, 0x2f )
    self.darkorange            =  func( 0xff, 0x8c, 0x00 )
    self.darkorchid            =  func( 0x99, 0x32, 0xcc )
    self.darkred               =  func( 0x8b, 0x00, 0x00 )
    self.darksalmon            =  func( 0xe9, 0x96, 0x7a )
    self.darkseagreen          =  func( 0x8f, 0xbc, 0x8f )
    self.darkslateblue         =  func( 0x48, 0x3d, 0x8b )
    self.darkslategray         =  func( 0x2f, 0x4f, 0x4f )
    self.darkslategrey         =  func( 0x2f, 0x4f, 0x4f )
    self.darkturquoise         =  func( 0x00, 0xce, 0xd1 )
    self.darkviolet            =  func( 0x94, 0x00, 0xd3 )
    self.deeppink              =  func( 0xff, 0x14, 0x93 )
    self.deepskyblue           =  func( 0x00, 0xbf, 0xff )
    self.dimgray               =  func( 0x69, 0x69, 0x69 )
    self.dimgrey               =  func( 0x69, 0x69, 0x69 )
    self.dodgerblue            =  func( 0x1e, 0x90, 0xff )
    self.firebrick             =  func( 0xb2, 0x22, 0x22 )
    self.floralwhite           =  func( 0xff, 0xfa, 0xf0 )
    self.forestgreen           =  func( 0x22, 0x8b, 0x22 )
    self.fuchsia               =  func( 0xff, 0x00, 0xff )
    self.gainsboro             =  func( 0xdc, 0xdc, 0xdc )
    self.ghostwhite            =  func( 0xf8, 0xf8, 0xff )
    self.gold                  =  func( 0xff, 0xd7, 0x00 )
    self.goldenrod             =  func( 0xda, 0xa5, 0x20 )
    self.gray                  =  func( 0x80, 0x80, 0x80 )
    self.grey                  =  func( 0x80, 0x80, 0x80 )
    self.green                 =  func( 0x00, 0x80, 0x00 )
    self.greenyellow           =  func( 0xad, 0xff, 0x2f )
    self.honeydew              =  func( 0xf0, 0xff, 0xf0 )
    self.hotpink               =  func( 0xff, 0x69, 0xb4 )
    self.indianred             =  func( 0xcd, 0x5c, 0x5c )
    self.indigo                =  func( 0x4b, 0x00, 0x82 )
    self.ivory                 =  func( 0xff, 0xff, 0xf0 )
    self.khaki                 =  func( 0xf0, 0xe6, 0x8c )
    self.lavender              =  func( 0xe6, 0xe6, 0xfa )
    self.lavenderblush         =  func( 0xff, 0xf0, 0xf5 )
    self.lawngreen             =  func( 0x7c, 0xfc, 0x00 )
    self.lemonchiffon          =  func( 0xff, 0xfa, 0xcd )
    self.lightblue             =  func( 0xad, 0xd8, 0xe6 )
    self.lightcoral            =  func( 0xf0, 0x80, 0x80 )
    self.lightcyan             =  func( 0xe0, 0xff, 0xff )
    self.lightgoldenrodyellow  =  func( 0xfa, 0xfa, 0xd2 )
    self.lightgray             =  func( 0xd3, 0xd3, 0xd3 )
    self.lightgrey             =  func( 0xd3, 0xd3, 0xd3 )
    self.lightgreen            =  func( 0x90, 0xee, 0x90 )
    self.lightpink             =  func( 0xff, 0xb6, 0xc1 )
    self.lightsalmon           =  func( 0xff, 0xa0, 0x7a )
    self.lightseagreen         =  func( 0x20, 0xb2, 0xaa )
    self.lightskyblue          =  func( 0x87, 0xce, 0xfa )
    self.lightslategray        =  func( 0x77, 0x88, 0x99 )
    self.lightslategrey        =  func( 0x77, 0x88, 0x99 )
    self.lightsteelblue        =  func( 0xb0, 0xc4, 0xde )
    self.lightyellow           =  func( 0xff, 0xff, 0xe0 )
    self.lime                  =  func( 0x00, 0xff, 0x00 )
    self.limegreen             =  func( 0x32, 0xcd, 0x32 )
    self.linen                 =  func( 0xfa, 0xf0, 0xe6 )
    self.magenta               =  func( 0xff, 0x00, 0xff )
    self.maroon                =  func( 0x80, 0x00, 0x00 )
    self.mediumaquamarine      =  func( 0x66, 0xcd, 0xaa )
    self.mediumblue            =  func( 0x00, 0x00, 0xcd )
    self.mediumorchid          =  func( 0xba, 0x55, 0xd3 )
    self.mediumpurple          =  func( 0x93, 0x70, 0xdb )
    self.mediumseagreen        =  func( 0x3c, 0xb3, 0x71 )
    self.mediumslateblue       =  func( 0x7b, 0x68, 0xee )
    self.mediumspringgreen     =  func( 0x00, 0xfa, 0x9a )
    self.mediumturquoise       =  func( 0x48, 0xd1, 0xcc )
    self.mediumvioletred       =  func( 0xc7, 0x15, 0x85 )
    self.midnightblue          =  func( 0x19, 0x19, 0x70 )
    self.mintcream             =  func( 0xf5, 0xff, 0xfa )
    self.mistyrose             =  func( 0xff, 0xe4, 0xe1 )
    self.moccasin              =  func( 0xff, 0xe4, 0xb5 )
    self.navajowhite           =  func( 0xff, 0xde, 0xad )
    self.navy                  =  func( 0x00, 0x00, 0x80 )
    self.oldlace               =  func( 0xfd, 0xf5, 0xe6 )
    self.olive                 =  func( 0x80, 0x80, 0x00 )
    self.olivedrab             =  func( 0x6b, 0x8e, 0x23 )
    self.orange                =  func( 0xff, 0xa5, 0x00 )
    self.orangered             =  func( 0xff, 0x45, 0x00 )
    self.orchid                =  func( 0xda, 0x70, 0xd6 )
    self.palegoldenrod         =  func( 0xee, 0xe8, 0xaa )
    self.palegreen             =  func( 0x98, 0xfb, 0x98 )
    self.paleturquoise         =  func( 0xaf, 0xee, 0xee )
    self.palevioletred         =  func( 0xdb, 0x70, 0x93 )
    self.papayawhip            =  func( 0xff, 0xef, 0xd5 )
    self.peachpuff             =  func( 0xff, 0xda, 0xb9 )
    self.peru                  =  func( 0xcd, 0x85, 0x3f )
    self.pink                  =  func( 0xff, 0xc0, 0xcb )
    self.plum                  =  func( 0xdd, 0xa0, 0xdd )
    self.powderblue            =  func( 0xb0, 0xe0, 0xe6 )
    self.purple                =  func( 0x80, 0x00, 0x80 )
    self.red                   =  func( 0xff, 0x00, 0x00 )
    self.rosybrown             =  func( 0xbc, 0x8f, 0x8f )
    self.royalblue             =  func( 0x41, 0x69, 0xe1 )
    self.saddlebrown           =  func( 0x8b, 0x45, 0x13 )
    self.salmon                =  func( 0xfa, 0x80, 0x72 )
    self.sandybrown            =  func( 0xf4, 0xa4, 0x60 )
    self.seagreen              =  func( 0x2e, 0x8b, 0x57 )
    self.seashell              =  func( 0xff, 0xf5, 0xee )
    self.sienna                =  func( 0xa0, 0x52, 0x2d )
    self.silver                =  func( 0xc0, 0xc0, 0xc0 )
    self.skyblue               =  func( 0x87, 0xce, 0xeb )
    self.slateblue             =  func( 0x6a, 0x5a, 0xcd )
    self.slategray             =  func( 0x70, 0x80, 0x90 )
    self.slategrey             =  func( 0x70, 0x80, 0x90 )
    self.snow                  =  func( 0xff, 0xfa, 0xfa )
    self.springgreen           =  func( 0x00, 0xff, 0x7f )
    self.steelblue             =  func( 0x46, 0x82, 0xb4 )
    self.tan                   =  func( 0xd2, 0xb4, 0x8c )
    self.teal                  =  func( 0x00, 0x80, 0x80 )
    self.thistle               =  func( 0xd8, 0xbf, 0xd8 )
    self.tomato                =  func( 0xff, 0x63, 0x47 )
    self.turquoise             =  func( 0x40, 0xe0, 0xd0 )
    self.violet                =  func( 0xee, 0x82, 0xee )
    self.wheat                 =  func( 0xf5, 0xde, 0xb3 )
    self.white                 =  func( 0xff, 0xff, 0xff )
    self.whitesmoke            =  func( 0xf5, 0xf5, 0xf5 )
    self.yellow                =  func( 0xff, 0xff, 0x00 )
    self.yellowgreen           =  func( 0x9a, 0xcd, 0x32 )
