Module colors
[hide private]
[frames] | no frames]

Module colors

source code

Classes [hide private]
  RGB
Represents a color as an RGB (red green blue) value
Variables [hide private]
  RGBToNamesCache = {}
  RGBToNames = {RGB(0x00, 0x00, 0x00): _('black'), RGB(0x00, 0x8...
Variables Details [hide private]

RGBToNames

Value:
{RGB(0x00, 0x00, 0x00): _('black'), RGB(0x00, 0x80, 0x00): _('green'),\
 RGB(0xc0, 0xc0, 0xc0): _('light grey'), RGB(0x00, 0xff, 0x00): _('lim\
e'), RGB(0x80, 0x80, 0x80): _('grey'), RGB(0x80, 0x80, 0x00): _('olive\
'), RGB(0xff, 0xff, 0xff): _('white'), RGB(0xff, 0xff, 0x00): _('yello\
w'), RGB(0x80, 0x00, 0x00): _('dark red'), RGB(0x00, 0x00, 0xa0): _('n\
avy blue'), RGB(0xff, 0x00, 0x00): _('red'), RGB(0x00, 0x00, 0xff): _(\
'blue'), RGB(0x80, 0x00, 0x80): _('purple'), RGB(0x00, 0x80, 0x80): _(\
'teal'), RGB(0xff, 0x00, 0xff): _('fuchsia'), RGB(0x00, 0xff, 0xff): _\
...