1   
   2   
   3   
   4   
   5   
   6   
   7   
   8   
   9   
  10   
  11   
  12   
  13   
  14   
  15   
  16   
  17   
  18   
  19   
  20   
  21   
  22   
  23  """Module for colour manipulation.""" 
  24   
  25   
  26  from numpy import float64, array 
  27   
  28   
  29  from relax_errors import RelaxInvalidColourError 
  30  from user_functions.data import Uf_tables; uf_tables = Uf_tables() 
  31  from user_functions.objects import Desc_container 
  32   
  33   
  34  _linear_gradient_doc = Desc_container("Colour") 
  35  _linear_gradient_doc.add_paragraph("The values are coloured based on a linear colour gradient which is specified through starting and ending colours.  These can either be a string to identify one of the RGB (red, green, blue) colour arrays listed in the tables below, or you can give the RGB vector itself.  For example, 'white' and [1.0, 1.0, 1.0] both select the same colour.  Leaving both colours unset will select the default colour gradient which for each type of analysis is described below.") 
  36  _linear_gradient_doc.add_paragraph("When supplying the colours as strings, two lists of colours can be selected from which to match the strings.  These are the default Molmol colour list and the X11 colour list, both of which are described in the tables below.  The default behaviour is to first search the Molmol list and then the X11 colour list, raising an error if neither contain the name.  To explicitly select these lists, set the colour list to either 'molmol' or 'x11'.") 
  37   
  39      """Return an RGB colour array of the value placed on a linear colour gradient. 
  40   
  41      The argument value should be a number between zero and one.  The start and end colours can 
  42      either be strings or RGB colour arrays. 
  43   
  44      @param value:           The position on the gradient, ranging from zero to one. 
  45      @type value:            float 
  46      @param start:           The starting colour, either the name of the colour as a string or an RGB 
  47                              colour array. 
  48      @type start:            str or list of float 
  49      @param end:             The ending colour, either the name of the colour as a string or an RGB 
  50                              colour array. 
  51      @type end:              str or list of float 
  52      @keyword colour_list:   The colour names to use, one of 'x11' or 'molmol'. 
  53      @type colour_list:      str 
  54      @return:                The position in the gradient. 
  55      @rtype:                 float 
  56      """ 
  57   
  58       
  59      if isinstance(start, str): 
  60           
  61          if colour_list == None: 
  62              try: 
  63                  start = molmol_colours(start) 
  64              except: 
  65                  start = x11_colours(start) 
  66   
  67           
  68          elif colour_list == 'molmol': 
  69              start = molmol_colours(start) 
  70   
  71           
  72          elif colour_list == 'x11': 
  73              start = x11_colours(start) 
  74   
  75       
  76      if isinstance(end, str): 
  77           
  78          if colour_list == None: 
  79              try: 
  80                  end = molmol_colours(end) 
  81              except: 
  82                  end = x11_colours(end) 
  83   
  84           
  85          elif colour_list == 'molmol': 
  86              end = molmol_colours(end) 
  87   
  88           
  89          elif colour_list == 'x11': 
  90              end = x11_colours(end) 
  91   
  92       
  93      if value < 0.0: 
  94          value = 0.0 
  95      elif value > 1.0: 
  96          value = 1.0 
  97   
  98       
  99      return value * (end - start) + start 
  100   
 101   
 103      """Return the RGB colour array corresponding to the Molmol colour name. 
 104   
 105      @param name:    The Molmol colour name. 
 106      @type name:     str 
 107      @return:        The RGB colour array. 
 108      @rtype:         list of float 
 109      """ 
 110   
 111       
 112      colours = {} 
 113   
 114       
 115      colours['black']        = [0.000, 0.000, 0.000] 
 116      colours['navy']         = [0.000, 0.000, 0.502] 
 117      colours['blue']         = [0.000, 0.000, 1.000] 
 118      colours['dark green']   = [0.000, 0.392, 0.000] 
 119      colours['green']        = [0.000, 1.000, 0.000] 
 120      colours['cyan']         = [0.000, 1.000, 1.000] 
 121      colours['turquoise']    = [0.251, 0.878, 0.816] 
 122      colours['royal blue']   = [0.255, 0.412, 0.882] 
 123      colours['aquamarine']   = [0.498, 1.000, 0.831] 
 124      colours['sky green']    = [0.529, 0.808, 0.922] 
 125      colours['dark violet']  = [0.580, 0.000, 0.827] 
 126      colours['pale green']   = [0.596, 0.984, 0.596] 
 127      colours['purple']       = [0.627, 0.125, 0.941] 
 128      colours['brown']        = [0.647, 0.165, 0.165] 
 129      colours['light blue']   = [0.678, 0.847, 0.902] 
 130      colours['grey']         = [0.745, 0.745, 0.745] 
 131      colours['light grey']   = [0.827, 0.827, 0.827] 
 132      colours['violet']       = [0.933, 0.510, 0.933] 
 133      colours['light coral']  = [0.941, 0.502, 0.502] 
 134      colours['khaki']        = [0.941, 0.902, 0.549] 
 135      colours['beige']        = [0.961, 0.961, 0.863] 
 136      colours['red']          = [1.000, 0.000, 0.000] 
 137      colours['magenta']      = [1.000, 0.000, 1.000] 
 138      colours['deep pink']    = [1.000, 0.078, 0.576] 
 139      colours['orange red']   = [1.000, 0.271, 0.000] 
 140      colours['hot pink']     = [1.000, 0.412, 0.706] 
 141      colours['coral']        = [1.000, 0.498, 0.314] 
 142      colours['dark orange']  = [1.000, 0.549, 0.000] 
 143      colours['orange']       = [1.000, 0.647, 0.000] 
 144      colours['pink']         = [1.000, 0.753, 0.796] 
 145      colours['gold']         = [1.000, 0.843, 0.000] 
 146      colours['yellow']       = [1.000, 1.000, 0.000] 
 147      colours['light yellow'] = [1.000, 1.000, 0.878] 
 148      colours['ivory']        = [1.000, 1.000, 0.941] 
 149      colours['white']        = [1.000, 1.000, 1.000] 
 150   
 151       
 152      for key in colours: 
 153          colours[key] = array(colours[key], float64) 
 154   
 155       
 156      if name not in colours: 
 157          raise RelaxInvalidColourError(name) 
 158   
 159       
 160      return colours[name] 
  161   
 162   
 163  __molmol_colours_doc__ = Desc_container("Molmol RGB colour arrays") 
 164  __molmol_colours_doc__.add_paragraph("The following table is a list of colours used in Molmol and their corresponding RGB colour values ranging from 0 to 1.") 
 165  table = uf_tables.add_table(label="table: Molmol colours", caption="Molmol colour names and corresponding RGB colour values (from 0 to 1)", spacing=False, longtable=False) 
 166  table.add_headings(["Name", "Red", "Green", "Blue"]) 
 167  table.add_row(["'black'", "0.000", "0.000", "0.000"]) 
 168  table.add_row(["'navy'", "0.000", "0.000", "0.502"]) 
 169  table.add_row(["'blue'", "0.000", "0.000", "1.000"]) 
 170  table.add_row(["'dark green'", "0.000", "0.392", "0.000"]) 
 171  table.add_row(["'green'", "0.000", "1.000", "0.000"]) 
 172  table.add_row(["'cyan'", "0.000", "1.000", "1.000"]) 
 173  table.add_row(["'turquoise'", "0.251", "0.878", "0.816"]) 
 174  table.add_row(["'royal blue'", "0.255", "0.412", "0.882"]) 
 175  table.add_row(["'aquamarine'", "0.498", "1.000", "0.831"]) 
 176  table.add_row(["'sky green'", "0.529", "0.808", "0.922"]) 
 177  table.add_row(["'dark violet'", "0.580", "0.000", "0.827"]) 
 178  table.add_row(["'pale green'", "0.596", "0.984", "0.596"]) 
 179  table.add_row(["'purple'", "0.627", "0.125", "0.941"]) 
 180  table.add_row(["'brown'", "0.647", "0.165", "0.165"]) 
 181  table.add_row(["'light blue'", "0.678", "0.847", "0.902"]) 
 182  table.add_row(["'grey'", "0.745", "0.745", "0.745"]) 
 183  table.add_row(["'light grey'", "0.827", "0.827", "0.827"]) 
 184  table.add_row(["'violet'", "0.933", "0.510", "0.933"]) 
 185  table.add_row(["'light coral'", "0.941", "0.502", "0.502"]) 
 186  table.add_row(["'khaki'", "0.941", "0.902", "0.549"]) 
 187  table.add_row(["'beige'", "0.961", "0.961", "0.863"]) 
 188  table.add_row(["'red'", "1.000", "0.000", "0.000"]) 
 189  table.add_row(["'magenta'", "1.000", "0.000", "1.000"]) 
 190  table.add_row(["'deep pink'", "1.000", "0.078", "0.576"]) 
 191  table.add_row(["'orange red'", "1.000", "0.271", "0.000"]) 
 192  table.add_row(["'hot pink'", "1.000", "0.412", "0.706"]) 
 193  table.add_row(["'coral'", "1.000", "0.498", "0.314"]) 
 194  table.add_row(["'dark orange'", "1.000", "0.549", "0.000"]) 
 195  table.add_row(["'orange'", "1.000", "0.647", "0.000"]) 
 196  table.add_row(["'pink'", "1.000", "0.753", "0.796"]) 
 197  table.add_row(["'gold'", "1.000", "0.843", "0.000"]) 
 198  table.add_row(["'yellow'", "1.000", "1.000", "0.000"]) 
 199  table.add_row(["'light yellow'", "1.000", "1.000", "0.878"]) 
 200  table.add_row(["'ivory'", "1.000", "1.000", "0.941"]) 
 201  table.add_row(["'white'", "1.000", "1.000", "1.000"]) 
 202  __molmol_colours_doc__.add_table(table.label) 
 203   
 204   
 206      """Return the RGB colour array corresponding to the X11 colour name. 
 207   
 208      @param name:    The X11 colour name, as defined in the /usr/X11R6/lib/X11/rgb.txt file. 
 209      @type name:     str 
 210      @return:        The RGB colour array. 
 211      @rtype:         list of float 
 212      """ 
 213   
 214       
 215      colours = {} 
 216   
 217       
 218      colours['snow']                     = [255, 250, 250] 
 219      colours['ghost white']              = [248, 248, 255] 
 220      colours['white smoke']              = [245, 245, 245] 
 221      colours['gainsboro']                = [220, 220, 220] 
 222      colours['floral white']             = [255, 250, 240] 
 223      colours['old lace']                 = [253, 245, 230] 
 224      colours['linen']                    = [250, 240, 230] 
 225      colours['antique white']            = [250, 235, 215] 
 226      colours['papaya whip']              = [255, 239, 213] 
 227      colours['blanched almond']          = [255, 235, 205] 
 228      colours['bisque']                   = [255, 228, 196] 
 229      colours['peach puff']               = [255, 218, 185] 
 230      colours['navajo white']             = [255, 222, 173] 
 231      colours['moccasin']                 = [255, 228, 181] 
 232      colours['cornsilk']                 = [255, 248, 220] 
 233      colours['ivory']                    = [255, 255, 240] 
 234      colours['lemon chiffon']            = [255, 250, 205] 
 235      colours['seashell']                 = [255, 245, 238] 
 236      colours['honeydew']                 = [240, 255, 240] 
 237      colours['mint cream']               = [245, 255, 250] 
 238      colours['azure']                    = [240, 255, 255] 
 239      colours['alice blue']               = [240, 248, 255] 
 240      colours['lavender']                 = [230, 230, 250] 
 241      colours['lavender blush']           = [255, 240, 245] 
 242      colours['misty rose']               = [255, 228, 225] 
 243      colours['white']                    = [255, 255, 255] 
 244      colours['black']                    = [  0,   0,   0] 
 245      colours['dark slate grey']          = [ 47,  79,  79] 
 246      colours['dim grey']                 = [105, 105, 105] 
 247      colours['slate grey']               = [112, 128, 144] 
 248      colours['light slate grey']         = [119, 136, 153] 
 249      colours['grey']                     = [190, 190, 190] 
 250      colours['light grey']               = [211, 211, 211] 
 251      colours['midnight blue']            = [ 25,  25, 112] 
 252      colours['navy']                     = [  0,   0, 128] 
 253      colours['cornflower blue']          = [100, 149, 237] 
 254      colours['dark slate blue']          = [ 72,  61, 139] 
 255      colours['slate blue']               = [106,  90, 205] 
 256      colours['medium slate blue']        = [123, 104, 238] 
 257      colours['light slate blue']         = [132, 112, 255] 
 258      colours['medium blue']              = [  0,   0, 205] 
 259      colours['royal blue']               = [ 65, 105, 225] 
 260      colours['blue']                     = [  0,   0, 255] 
 261      colours['dodger blue']              = [ 30, 144, 255] 
 262      colours['deep sky blue']            = [  0, 191, 255] 
 263      colours['sky blue']                 = [135, 206, 235] 
 264      colours['light sky blue']           = [135, 206, 250] 
 265      colours['steel blue']               = [ 70, 130, 180] 
 266      colours['light steel blue']         = [176, 196, 222] 
 267      colours['light blue']               = [173, 216, 230] 
 268      colours['powder blue']              = [176, 224, 230] 
 269      colours['pale turquoise']           = [175, 238, 238] 
 270      colours['dark turquoise']           = [  0, 206, 209] 
 271      colours['medium turquoise']         = [ 72, 209, 204] 
 272      colours['turquoise']                = [ 64, 224, 208] 
 273      colours['cyan']                     = [  0, 255, 255] 
 274      colours['light cyan']               = [224, 255, 255] 
 275      colours['cadet blue']               = [ 95, 158, 160] 
 276      colours['medium aquamarine']        = [102, 205, 170] 
 277      colours['aquamarine']               = [127, 255, 212] 
 278      colours['dark green']               = [  0, 100,   0] 
 279      colours['dark olive green']         = [ 85, 107,  47] 
 280      colours['dark sea green']           = [143, 188, 143] 
 281      colours['sea green']                = [ 46, 139,  87] 
 282      colours['medium sea green']         = [ 60, 179, 113] 
 283      colours['light sea green']          = [ 32, 178, 170] 
 284      colours['pale green']               = [152, 251, 152] 
 285      colours['spring green']             = [  0, 255, 127] 
 286      colours['lawn green']               = [124, 252,   0] 
 287      colours['green']                    = [  0, 255,   0] 
 288      colours['chartreuse']               = [127, 255,   0] 
 289      colours['medium spring green']      = [  0, 250, 154] 
 290      colours['green yellow']             = [173, 255,  47] 
 291      colours['lime green']               = [ 50, 205,  50] 
 292      colours['yellow green']             = [154, 205,  50] 
 293      colours['forest green']             = [ 34, 139,  34] 
 294      colours['olive drab']               = [107, 142,  35] 
 295      colours['dark khaki']               = [189, 183, 107] 
 296      colours['khaki']                    = [240, 230, 140] 
 297      colours['pale goldenrod']           = [238, 232, 170] 
 298      colours['light goldenrod yellow']   = [250, 250, 210] 
 299      colours['light yellow']             = [255, 255, 224] 
 300      colours['yellow']                   = [255, 255,   0] 
 301      colours['gold']                     = [255, 215,   0] 
 302      colours['light goldenrod']          = [238, 221, 130] 
 303      colours['goldenrod']                = [218, 165,  32] 
 304      colours['dark goldenrod']           = [184, 134,  11] 
 305      colours['rosy brown']               = [188, 143, 143] 
 306      colours['indian red']               = [205,  92,  92] 
 307      colours['saddle brown']             = [139,  69,  19] 
 308      colours['sienna']                   = [160,  82,  45] 
 309      colours['peru']                     = [205, 133,  63] 
 310      colours['burlywood']                = [222, 184, 135] 
 311      colours['beige']                    = [245, 245, 220] 
 312      colours['wheat']                    = [245, 222, 179] 
 313      colours['sandy brown']              = [244, 164,  96] 
 314      colours['tan']                      = [210, 180, 140] 
 315      colours['chocolate']                = [210, 105,  30] 
 316      colours['firebrick']                = [178,  34,  34] 
 317      colours['brown']                    = [165,  42,  42] 
 318      colours['dark salmon']              = [233, 150, 122] 
 319      colours['salmon']                   = [250, 128, 114] 
 320      colours['light salmon']             = [255, 160, 122] 
 321      colours['orange']                   = [255, 165,   0] 
 322      colours['dark orange']              = [255, 140,   0] 
 323      colours['coral']                    = [255, 127,  80] 
 324      colours['light coral']              = [240, 128, 128] 
 325      colours['tomato']                   = [255,  99,  71] 
 326      colours['orange red']               = [255,  69,   0] 
 327      colours['red']                      = [255,   0,   0] 
 328      colours['hot pink']                 = [255, 105, 180] 
 329      colours['deep pink']                = [255,  20, 147] 
 330      colours['pink']                     = [255, 192, 203] 
 331      colours['light pink']               = [255, 182, 193] 
 332      colours['pale violet red']          = [219, 112, 147] 
 333      colours['maroon']                   = [176,  48,  96] 
 334      colours['medium violet red']        = [199,  21, 133] 
 335      colours['violet red']               = [208,  32, 144] 
 336      colours['magenta']                  = [255,   0, 255] 
 337      colours['violet']                   = [238, 130, 238] 
 338      colours['plum']                     = [221, 160, 221] 
 339      colours['orchid']                   = [218, 112, 214] 
 340      colours['medium orchid']            = [186,  85, 211] 
 341      colours['dark orchid']              = [153,  50, 204] 
 342      colours['dark violet']              = [148,   0, 211] 
 343      colours['blue violet']              = [138,  43, 226] 
 344      colours['purple']                   = [160,  32, 240] 
 345      colours['medium purple']            = [147, 112, 219] 
 346      colours['thistle']                  = [216, 191, 216] 
 347      colours['snow 1']                   = [255, 250, 250] 
 348      colours['snow 2']                   = [238, 233, 233] 
 349      colours['snow 3']                   = [205, 201, 201] 
 350      colours['snow 4']                   = [139, 137, 137] 
 351      colours['seashell 1']               = [255, 245, 238] 
 352      colours['seashell 2']               = [238, 229, 222] 
 353      colours['seashell 3']               = [205, 197, 191] 
 354      colours['seashell 4']               = [139, 134, 130] 
 355      colours['antique white 1']          = [255, 239, 219] 
 356      colours['antique white 2']          = [238, 223, 204] 
 357      colours['antique white 3']          = [205, 192, 176] 
 358      colours['antique white 4']          = [139, 131, 120] 
 359      colours['bisque 1']                 = [255, 228, 196] 
 360      colours['bisque 2']                 = [238, 213, 183] 
 361      colours['bisque 3']                 = [205, 183, 158] 
 362      colours['bisque 4']                 = [139, 125, 107] 
 363      colours['peach puff 1']             = [255, 218, 185] 
 364      colours['peach puff 2']             = [238, 203, 173] 
 365      colours['peach puff 3']             = [205, 175, 149] 
 366      colours['peach puff 4']             = [139, 119, 101] 
 367      colours['navajo white 1']           = [255, 222, 173] 
 368      colours['navajo white 2']           = [238, 207, 161] 
 369      colours['navajo white 3']           = [205, 179, 139] 
 370      colours['navajo white 4']           = [139, 121,  94] 
 371      colours['lemon chiffon 1']          = [255, 250, 205] 
 372      colours['lemon chiffon 2']          = [238, 233, 191] 
 373      colours['lemon chiffon 3']          = [205, 201, 165] 
 374      colours['lemon chiffon 4']          = [139, 137, 112] 
 375      colours['cornsilk 1']               = [255, 248, 220] 
 376      colours['cornsilk 2']               = [238, 232, 205] 
 377      colours['cornsilk 3']               = [205, 200, 177] 
 378      colours['cornsilk 4']               = [139, 136, 120] 
 379      colours['ivory 1']                  = [255, 255, 240] 
 380      colours['ivory 2']                  = [238, 238, 224] 
 381      colours['ivory 3']                  = [205, 205, 193] 
 382      colours['ivory 4']                  = [139, 139, 131] 
 383      colours['honeydew 1']               = [240, 255, 240] 
 384      colours['honeydew 2']               = [224, 238, 224] 
 385      colours['honeydew 3']               = [193, 205, 193] 
 386      colours['honeydew 4']               = [131, 139, 131] 
 387      colours['lavender blush 1']         = [255, 240, 245] 
 388      colours['lavender blush 2']         = [238, 224, 229] 
 389      colours['lavender blush 3']         = [205, 193, 197] 
 390      colours['lavender blush 4']         = [139, 131, 134] 
 391      colours['misty rose 1']             = [255, 228, 225] 
 392      colours['misty rose 2']             = [238, 213, 210] 
 393      colours['misty rose 3']             = [205, 183, 181] 
 394      colours['misty rose 4']             = [139, 125, 123] 
 395      colours['azure 1']                  = [240, 255, 255] 
 396      colours['azure 2']                  = [224, 238, 238] 
 397      colours['azure 3']                  = [193, 205, 205] 
 398      colours['azure 4']                  = [131, 139, 139] 
 399      colours['slate blue 1']             = [131, 111, 255] 
 400      colours['slate blue 2']             = [122, 103, 238] 
 401      colours['slate blue 3']             = [105,  89, 205] 
 402      colours['slate blue 4']             = [ 71,  60, 139] 
 403      colours['royal blue 1']             = [ 72, 118, 255] 
 404      colours['royal blue 2']             = [ 67, 110, 238] 
 405      colours['royal blue 3']             = [ 58,  95, 205] 
 406      colours['royal blue 4']             = [ 39,  64, 139] 
 407      colours['blue 1']                   = [  0,   0, 255] 
 408      colours['blue 2']                   = [  0,   0, 238] 
 409      colours['blue 3']                   = [  0,   0, 205] 
 410      colours['blue 4']                   = [  0,   0, 139] 
 411      colours['dodger blue 1']            = [ 30, 144, 255] 
 412      colours['dodger blue 2']            = [ 28, 134, 238] 
 413      colours['dodger blue 3']            = [ 24, 116, 205] 
 414      colours['dodger blue 4']            = [ 16,  78, 139] 
 415      colours['steel blue 1']             = [ 99, 184, 255] 
 416      colours['steel blue 2']             = [ 92, 172, 238] 
 417      colours['steel blue 3']             = [ 79, 148, 205] 
 418      colours['steel blue 4']             = [ 54, 100, 139] 
 419      colours['deep sky blue 1']          = [  0, 191, 255] 
 420      colours['deep sky blue 2']          = [  0, 178, 238] 
 421      colours['deep sky blue 3']          = [  0, 154, 205] 
 422      colours['deep sky blue 4']          = [  0, 104, 139] 
 423      colours['sky blue 1']               = [135, 206, 255] 
 424      colours['sky blue 2']               = [126, 192, 238] 
 425      colours['sky blue 3']               = [108, 166, 205] 
 426      colours['sky blue 4']               = [ 74, 112, 139] 
 427      colours['light sky blue 1']         = [176, 226, 255] 
 428      colours['light sky blue 2']         = [164, 211, 238] 
 429      colours['light sky blue 3']         = [141, 182, 205] 
 430      colours['light sky blue 4']         = [ 96, 123, 139] 
 431      colours['slate grey 1']             = [198, 226, 255] 
 432      colours['slate grey 2']             = [185, 211, 238] 
 433      colours['slate grey 3']             = [159, 182, 205] 
 434      colours['slate grey 4']             = [108, 123, 139] 
 435      colours['light steel blue 1']       = [202, 225, 255] 
 436      colours['light steel blue 2']       = [188, 210, 238] 
 437      colours['light steel blue 3']       = [162, 181, 205] 
 438      colours['light steel blue 4']       = [110, 123, 139] 
 439      colours['light blue 1']             = [191, 239, 255] 
 440      colours['light blue 2']             = [178, 223, 238] 
 441      colours['light blue 3']             = [154, 192, 205] 
 442      colours['light blue 4']             = [104, 131, 139] 
 443      colours['light cyan 1']             = [224, 255, 255] 
 444      colours['light cyan 2']             = [209, 238, 238] 
 445      colours['light cyan 3']             = [180, 205, 205] 
 446      colours['light cyan 4']             = [122, 139, 139] 
 447      colours['pale turquoise 1']         = [187, 255, 255] 
 448      colours['pale turquoise 2']         = [174, 238, 238] 
 449      colours['pale turquoise 3']         = [150, 205, 205] 
 450      colours['pale turquoise 4']         = [102, 139, 139] 
 451      colours['cadet blue 1']             = [152, 245, 255] 
 452      colours['cadet blue 2']             = [142, 229, 238] 
 453      colours['cadet blue 3']             = [122, 197, 205] 
 454      colours['cadet blue 4']             = [ 83, 134, 139] 
 455      colours['turquoise 1']              = [  0, 245, 255] 
 456      colours['turquoise 2']              = [  0, 229, 238] 
 457      colours['turquoise 3']              = [  0, 197, 205] 
 458      colours['turquoise 4']              = [  0, 134, 139] 
 459      colours['cyan 1']                   = [  0, 255, 255] 
 460      colours['cyan 2']                   = [  0, 238, 238] 
 461      colours['cyan 3']                   = [  0, 205, 205] 
 462      colours['cyan 4']                   = [  0, 139, 139] 
 463      colours['dark slate grey 1']        = [151, 255, 255] 
 464      colours['dark slate grey 2']        = [141, 238, 238] 
 465      colours['dark slate grey 3']        = [121, 205, 205] 
 466      colours['dark slate grey 4']        = [ 82, 139, 139] 
 467      colours['aquamarine 1']             = [127, 255, 212] 
 468      colours['aquamarine 2']             = [118, 238, 198] 
 469      colours['aquamarine 3']             = [102, 205, 170] 
 470      colours['aquamarine 4']             = [ 69, 139, 116] 
 471      colours['dark sea green 1']         = [193, 255, 193] 
 472      colours['dark sea green 2']         = [180, 238, 180] 
 473      colours['dark sea green 3']         = [155, 205, 155] 
 474      colours['dark sea green 4']         = [105, 139, 105] 
 475      colours['sea green 1']              = [ 84, 255, 159] 
 476      colours['sea green 2']              = [ 78, 238, 148] 
 477      colours['sea green 3']              = [ 67, 205, 128] 
 478      colours['sea green 4']              = [ 46, 139,  87] 
 479      colours['pale green 1']             = [154, 255, 154] 
 480      colours['pale green 2']             = [144, 238, 144] 
 481      colours['pale green 3']             = [124, 205, 124] 
 482      colours['pale green 4']             = [ 84, 139,  84] 
 483      colours['spring green 1']           = [  0, 255, 127] 
 484      colours['spring green 2']           = [  0, 238, 118] 
 485      colours['spring green 3']           = [  0, 205, 102] 
 486      colours['spring green 4']           = [  0, 139,  69] 
 487      colours['green 1']                  = [  0, 255,   0] 
 488      colours['green 2']                  = [  0, 238,   0] 
 489      colours['green 3']                  = [  0, 205,   0] 
 490      colours['green 4']                  = [  0, 139,   0] 
 491      colours['chartreuse 1']             = [127, 255,   0] 
 492      colours['chartreuse 2']             = [118, 238,   0] 
 493      colours['chartreuse 3']             = [102, 205,   0] 
 494      colours['chartreuse 4']             = [ 69, 139,   0] 
 495      colours['olive drab 1']             = [192, 255,  62] 
 496      colours['olive drab 2']             = [179, 238,  58] 
 497      colours['olive drab 3']             = [154, 205,  50] 
 498      colours['olive drab 4']             = [105, 139,  34] 
 499      colours['dark olive green 1']       = [202, 255, 112] 
 500      colours['dark olive green 2']       = [188, 238, 104] 
 501      colours['dark olive green 3']       = [162, 205,  90] 
 502      colours['dark olive green 4']       = [110, 139,  61] 
 503      colours['khaki 1']                  = [255, 246, 143] 
 504      colours['khaki 2']                  = [238, 230, 133] 
 505      colours['khaki 3']                  = [205, 198, 115] 
 506      colours['khaki 4']                  = [139, 134,  78] 
 507      colours['light goldenrod 1']        = [255, 236, 139] 
 508      colours['light goldenrod 2']        = [238, 220, 130] 
 509      colours['light goldenrod 3']        = [205, 190, 112] 
 510      colours['light goldenrod 4']        = [139, 129,  76] 
 511      colours['light yellow 1']           = [255, 255, 224] 
 512      colours['light yellow 2']           = [238, 238, 209] 
 513      colours['light yellow 3']           = [205, 205, 180] 
 514      colours['light yellow 4']           = [139, 139, 122] 
 515      colours['yellow 1']                 = [255, 255,   0] 
 516      colours['yellow 2']                 = [238, 238,   0] 
 517      colours['yellow 3']                 = [205, 205,   0] 
 518      colours['yellow 4']                 = [139, 139,   0] 
 519      colours['gold 1']                   = [255, 215,   0] 
 520      colours['gold 2']                   = [238, 201,   0] 
 521      colours['gold 3']                   = [205, 173,   0] 
 522      colours['gold 4']                   = [139, 117,   0] 
 523      colours['goldenrod 1']              = [255, 193,  37] 
 524      colours['goldenrod 2']              = [238, 180,  34] 
 525      colours['goldenrod 3']              = [205, 155,  29] 
 526      colours['goldenrod 4']              = [139, 105,  20] 
 527      colours['dark goldenrod 1']         = [255, 185,  15] 
 528      colours['dark goldenrod 2']         = [238, 173,  14] 
 529      colours['dark goldenrod 3']         = [205, 149,  12] 
 530      colours['dark goldenrod 4']         = [139, 101,   8] 
 531      colours['rosy brown 1']             = [255, 193, 193] 
 532      colours['rosy brown 2']             = [238, 180, 180] 
 533      colours['rosy brown 3']             = [205, 155, 155] 
 534      colours['rosy brown 4']             = [139, 105, 105] 
 535      colours['indian red 1']             = [255, 106, 106] 
 536      colours['indian red 2']             = [238,  99,  99] 
 537      colours['indian red 3']             = [205,  85,  85] 
 538      colours['indian red 4']             = [139,  58,  58] 
 539      colours['sienna 1']                 = [255, 130,  71] 
 540      colours['sienna 2']                 = [238, 121,  66] 
 541      colours['sienna 3']                 = [205, 104,  57] 
 542      colours['sienna 4']                 = [139,  71,  38] 
 543      colours['burlywood 1']              = [255, 211, 155] 
 544      colours['burlywood 2']              = [238, 197, 145] 
 545      colours['burlywood 3']              = [205, 170, 125] 
 546      colours['burlywood 4']              = [139, 115,  85] 
 547      colours['wheat 1']                  = [255, 231, 186] 
 548      colours['wheat 2']                  = [238, 216, 174] 
 549      colours['wheat 3']                  = [205, 186, 150] 
 550      colours['wheat 4']                  = [139, 126, 102] 
 551      colours['tan 1']                    = [255, 165,  79] 
 552      colours['tan 2']                    = [238, 154,  73] 
 553      colours['tan 3']                    = [205, 133,  63] 
 554      colours['tan 4']                    = [139,  90,  43] 
 555      colours['chocolate 1']              = [255, 127,  36] 
 556      colours['chocolate 2']              = [238, 118,  33] 
 557      colours['chocolate 3']              = [205, 102,  29] 
 558      colours['chocolate 4']              = [139,  69,  19] 
 559      colours['firebrick 1']              = [255,  48,  48] 
 560      colours['firebrick 2']              = [238,  44,  44] 
 561      colours['firebrick 3']              = [205,  38,  38] 
 562      colours['firebrick 4']              = [139,  26,  26] 
 563      colours['brown 1']                  = [255,  64,  64] 
 564      colours['brown 2']                  = [238,  59,  59] 
 565      colours['brown 3']                  = [205,  51,  51] 
 566      colours['brown 4']                  = [139,  35,  35] 
 567      colours['salmon 1']                 = [255, 140, 105] 
 568      colours['salmon 2']                 = [238, 130,  98] 
 569      colours['salmon 3']                 = [205, 112,  84] 
 570      colours['salmon 4']                 = [139,  76,  57] 
 571      colours['light salmon 1']           = [255, 160, 122] 
 572      colours['light salmon 2']           = [238, 149, 114] 
 573      colours['light salmon 3']           = [205, 129,  98] 
 574      colours['light salmon 4']           = [139,  87,  66] 
 575      colours['orange 1']                 = [255, 165,   0] 
 576      colours['orange 2']                 = [238, 154,   0] 
 577      colours['orange 3']                 = [205, 133,   0] 
 578      colours['orange 4']                 = [139,  90,   0] 
 579      colours['dark orange 1']            = [255, 127,   0] 
 580      colours['dark orange 2']            = [238, 118,   0] 
 581      colours['dark orange 3']            = [205, 102,   0] 
 582      colours['dark orange 4']            = [139,  69,   0] 
 583      colours['coral 1']                  = [255, 114,  86] 
 584      colours['coral 2']                  = [238, 106,  80] 
 585      colours['coral 3']                  = [205,  91,  69] 
 586      colours['coral 4']                  = [139,  62,  47] 
 587      colours['tomato 1']                 = [255,  99,  71] 
 588      colours['tomato 2']                 = [238,  92,  66] 
 589      colours['tomato 3']                 = [205,  79,  57] 
 590      colours['tomato 4']                 = [139,  54,  38] 
 591      colours['orange red 1']             = [255,  69,   0] 
 592      colours['orange red 2']             = [238,  64,   0] 
 593      colours['orange red 3']             = [205,  55,   0] 
 594      colours['orange red 4']             = [139,  37,   0] 
 595      colours['red 1']                    = [255,   0,   0] 
 596      colours['red 2']                    = [238,   0,   0] 
 597      colours['red 3']                    = [205,   0,   0] 
 598      colours['red 4']                    = [139,   0,   0] 
 599      colours['deep pink 1']              = [255,  20, 147] 
 600      colours['deep pink 2']              = [238,  18, 137] 
 601      colours['deep pink 3']              = [205,  16, 118] 
 602      colours['deep pink 4']              = [139,  10,  80] 
 603      colours['hot pink 1']               = [255, 110, 180] 
 604      colours['hot pink 2']               = [238, 106, 167] 
 605      colours['hot pink 3']               = [205,  96, 144] 
 606      colours['hot pink 4']               = [139,  58,  98] 
 607      colours['pink 1']                   = [255, 181, 197] 
 608      colours['pink 2']                   = [238, 169, 184] 
 609      colours['pink 3']                   = [205, 145, 158] 
 610      colours['pink 4']                   = [139,  99, 108] 
 611      colours['light pink 1']             = [255, 174, 185] 
 612      colours['light pink 2']             = [238, 162, 173] 
 613      colours['light pink 3']             = [205, 140, 149] 
 614      colours['light pink 4']             = [139,  95, 101] 
 615      colours['pale violet red 1']        = [255, 130, 171] 
 616      colours['pale violet red 2']        = [238, 121, 159] 
 617      colours['pale violet red 3']        = [205, 104, 137] 
 618      colours['pale violet red 4']        = [139,  71,  93] 
 619      colours['maroon 1']                 = [255,  52, 179] 
 620      colours['maroon 2']                 = [238,  48, 167] 
 621      colours['maroon 3']                 = [205,  41, 144] 
 622      colours['maroon 4']                 = [139,  28,  98] 
 623      colours['violet red 1']             = [255,  62, 150] 
 624      colours['violet red 2']             = [238,  58, 140] 
 625      colours['violet red 3']             = [205,  50, 120] 
 626      colours['violet red 4']             = [139,  34,  82] 
 627      colours['magenta 1']                = [255,   0, 255] 
 628      colours['magenta 2']                = [238,   0, 238] 
 629      colours['magenta 3']                = [205,   0, 205] 
 630      colours['magenta 4']                = [139,   0, 139] 
 631      colours['orchid 1']                 = [255, 131, 250] 
 632      colours['orchid 2']                 = [238, 122, 233] 
 633      colours['orchid 3']                 = [205, 105, 201] 
 634      colours['orchid 4']                 = [139,  71, 137] 
 635      colours['plum 1']                   = [255, 187, 255] 
 636      colours['plum 2']                   = [238, 174, 238] 
 637      colours['plum 3']                   = [205, 150, 205] 
 638      colours['plum 4']                   = [139, 102, 139] 
 639      colours['medium orchid 1']          = [224, 102, 255] 
 640      colours['medium orchid 2']          = [209,  95, 238] 
 641      colours['medium orchid 3']          = [180,  82, 205] 
 642      colours['medium orchid 4']          = [122,  55, 139] 
 643      colours['dark orchid 1']            = [191,  62, 255] 
 644      colours['dark orchid 2']            = [178,  58, 238] 
 645      colours['dark orchid 3']            = [154,  50, 205] 
 646      colours['dark orchid 4']            = [104,  34, 139] 
 647      colours['purple 1']                 = [155,  48, 255] 
 648      colours['purple 2']                 = [145,  44, 238] 
 649      colours['purple 3']                 = [125,  38, 205] 
 650      colours['purple 4']                 = [ 85,  26, 139] 
 651      colours['medium purple 1']          = [171, 130, 255] 
 652      colours['medium purple 2']          = [159, 121, 238] 
 653      colours['medium purple 3']          = [137, 104, 205] 
 654      colours['medium purple 4']          = [ 93,  71, 139] 
 655      colours['thistle 1']                = [255, 225, 255] 
 656      colours['thistle 2']                = [238, 210, 238] 
 657      colours['thistle 3']                = [205, 181, 205] 
 658      colours['thistle 4']                = [139, 123, 139] 
 659      colours['grey 0']                   = [  0,   0,   0] 
 660      colours['grey 1']                   = [  3,   3,   3] 
 661      colours['grey 2']                   = [  5,   5,   5] 
 662      colours['grey 3']                   = [  8,   8,   8] 
 663      colours['grey 4']                   = [ 10,  10,  10] 
 664      colours['grey 5']                   = [ 13,  13,  13] 
 665      colours['grey 6']                   = [ 15,  15,  15] 
 666      colours['grey 7']                   = [ 18,  18,  18] 
 667      colours['grey 8']                   = [ 20,  20,  20] 
 668      colours['grey 9']                   = [ 23,  23,  23] 
 669      colours['grey 10']                  = [ 26,  26,  26] 
 670      colours['grey 11']                  = [ 28,  28,  28] 
 671      colours['grey 12']                  = [ 31,  31,  31] 
 672      colours['grey 13']                  = [ 33,  33,  33] 
 673      colours['grey 14']                  = [ 36,  36,  36] 
 674      colours['grey 15']                  = [ 38,  38,  38] 
 675      colours['grey 16']                  = [ 41,  41,  41] 
 676      colours['grey 17']                  = [ 43,  43,  43] 
 677      colours['grey 18']                  = [ 46,  46,  46] 
 678      colours['grey 19']                  = [ 48,  48,  48] 
 679      colours['grey 20']                  = [ 51,  51,  51] 
 680      colours['grey 21']                  = [ 54,  54,  54] 
 681      colours['grey 22']                  = [ 56,  56,  56] 
 682      colours['grey 23']                  = [ 59,  59,  59] 
 683      colours['grey 24']                  = [ 61,  61,  61] 
 684      colours['grey 25']                  = [ 64,  64,  64] 
 685      colours['grey 26']                  = [ 66,  66,  66] 
 686      colours['grey 27']                  = [ 69,  69,  69] 
 687      colours['grey 28']                  = [ 71,  71,  71] 
 688      colours['grey 29']                  = [ 74,  74,  74] 
 689      colours['grey 30']                  = [ 77,  77,  77] 
 690      colours['grey 31']                  = [ 79,  79,  79] 
 691      colours['grey 32']                  = [ 82,  82,  82] 
 692      colours['grey 33']                  = [ 84,  84,  84] 
 693      colours['grey 34']                  = [ 87,  87,  87] 
 694      colours['grey 35']                  = [ 89,  89,  89] 
 695      colours['grey 36']                  = [ 92,  92,  92] 
 696      colours['grey 37']                  = [ 94,  94,  94] 
 697      colours['grey 38']                  = [ 97,  97,  97] 
 698      colours['grey 39']                  = [ 99,  99,  99] 
 699      colours['grey 40']                  = [102, 102, 102] 
 700      colours['grey 41']                  = [105, 105, 105] 
 701      colours['grey 42']                  = [107, 107, 107] 
 702      colours['grey 43']                  = [110, 110, 110] 
 703      colours['grey 44']                  = [112, 112, 112] 
 704      colours['grey 45']                  = [115, 115, 115] 
 705      colours['grey 46']                  = [117, 117, 117] 
 706      colours['grey 47']                  = [120, 120, 120] 
 707      colours['grey 48']                  = [122, 122, 122] 
 708      colours['grey 49']                  = [125, 125, 125] 
 709      colours['grey 50']                  = [127, 127, 127] 
 710      colours['grey 51']                  = [130, 130, 130] 
 711      colours['grey 52']                  = [133, 133, 133] 
 712      colours['grey 53']                  = [135, 135, 135] 
 713      colours['grey 54']                  = [138, 138, 138] 
 714      colours['grey 55']                  = [140, 140, 140] 
 715      colours['grey 56']                  = [143, 143, 143] 
 716      colours['grey 57']                  = [145, 145, 145] 
 717      colours['grey 58']                  = [148, 148, 148] 
 718      colours['grey 59']                  = [150, 150, 150] 
 719      colours['grey 60']                  = [153, 153, 153] 
 720      colours['grey 61']                  = [156, 156, 156] 
 721      colours['grey 62']                  = [158, 158, 158] 
 722      colours['grey 63']                  = [161, 161, 161] 
 723      colours['grey 64']                  = [163, 163, 163] 
 724      colours['grey 65']                  = [166, 166, 166] 
 725      colours['grey 66']                  = [168, 168, 168] 
 726      colours['grey 67']                  = [171, 171, 171] 
 727      colours['grey 68']                  = [173, 173, 173] 
 728      colours['grey 69']                  = [176, 176, 176] 
 729      colours['grey 70']                  = [179, 179, 179] 
 730      colours['grey 71']                  = [181, 181, 181] 
 731      colours['grey 72']                  = [184, 184, 184] 
 732      colours['grey 73']                  = [186, 186, 186] 
 733      colours['grey 74']                  = [189, 189, 189] 
 734      colours['grey 75']                  = [191, 191, 191] 
 735      colours['grey 76']                  = [194, 194, 194] 
 736      colours['grey 77']                  = [196, 196, 196] 
 737      colours['grey 78']                  = [199, 199, 199] 
 738      colours['grey 79']                  = [201, 201, 201] 
 739      colours['grey 80']                  = [204, 204, 204] 
 740      colours['grey 81']                  = [207, 207, 207] 
 741      colours['grey 82']                  = [209, 209, 209] 
 742      colours['grey 83']                  = [212, 212, 212] 
 743      colours['grey 84']                  = [214, 214, 214] 
 744      colours['grey 85']                  = [217, 217, 217] 
 745      colours['grey 86']                  = [219, 219, 219] 
 746      colours['grey 87']                  = [222, 222, 222] 
 747      colours['grey 88']                  = [224, 224, 224] 
 748      colours['grey 89']                  = [227, 227, 227] 
 749      colours['grey 90']                  = [229, 229, 229] 
 750      colours['grey 91']                  = [232, 232, 232] 
 751      colours['grey 92']                  = [235, 235, 235] 
 752      colours['grey 93']                  = [237, 237, 237] 
 753      colours['grey 94']                  = [240, 240, 240] 
 754      colours['grey 95']                  = [242, 242, 242] 
 755      colours['grey 96']                  = [245, 245, 245] 
 756      colours['grey 97']                  = [247, 247, 247] 
 757      colours['grey 98']                  = [250, 250, 250] 
 758      colours['grey 99']                  = [252, 252, 252] 
 759      colours['grey 100']                 = [255, 255, 255] 
 760      colours['dark grey']                = [169, 169, 169] 
 761      colours['dark blue']                = [  0,   0, 139] 
 762      colours['dark cyan']                = [  0, 139, 139] 
 763      colours['dark magenta']             = [139,   0, 139] 
 764      colours['dark red']                 = [139,   0,   0] 
 765      colours['light green']              = [144, 238, 144] 
 766   
 767       
 768      if name not in colours: 
 769          raise RelaxInvalidColourError(name) 
 770   
 771       
 772      return array(colours[name], float64) / 255. 
  773   
 774   
 775  __x11_colours_doc__ = Desc_container("X11 RGB colour arrays") 
 776  __x11_colours_doc__.add_paragraph("The following table is the list of X11 colour names and their corresponding RGB colour values ranging from 0 to 255.") 
 777  table = uf_tables.add_table(label="table: X11 colours", caption="X11 colour names and corresponding RGB colour values", spacing=False, longtable=True) 
 778  table.add_headings(["Name", "Red", "Green", "Blue"]) 
 779  table.add_row(["snow", "255", "250", "250"]) 
 780  table.add_row(["ghost white", "248", "248", "255"]) 
 781  table.add_row(["white smoke", "245", "245", "245"]) 
 782  table.add_row(["gainsboro", "220", "220", "220"]) 
 783  table.add_row(["floral white", "255", "250", "240"]) 
 784  table.add_row(["old lace", "253", "245", "230"]) 
 785  table.add_row(["linen", "250", "240", "230"]) 
 786  table.add_row(["antique white", "250", "235", "215"]) 
 787  table.add_row(["papaya whip", "255", "239", "213"]) 
 788  table.add_row(["blanched almond", "255", "235", "205"]) 
 789  table.add_row(["bisque", "255", "228", "196"]) 
 790  table.add_row(["peach puff", "255", "218", "185"]) 
 791  table.add_row(["navajo white", "255", "222", "173"]) 
 792  table.add_row(["moccasin", "255", "228", "181"]) 
 793  table.add_row(["cornsilk", "255", "248", "220"]) 
 794  table.add_row(["ivory", "255", "255", "240"]) 
 795  table.add_row(["lemon chiffon", "255", "250", "205"]) 
 796  table.add_row(["seashell", "255", "245", "238"]) 
 797  table.add_row(["honeydew", "240", "255", "240"]) 
 798  table.add_row(["mint cream", "245", "255", "250"]) 
 799  table.add_row(["azure", "240", "255", "255"]) 
 800  table.add_row(["alice blue", "240", "248", "255"]) 
 801  table.add_row(["lavender", "230", "230", "250"]) 
 802  table.add_row(["lavender blush", "255", "240", "245"]) 
 803  table.add_row(["misty rose", "255", "228", "225"]) 
 804  table.add_row(["white", "255", "255", "255"]) 
 805  table.add_row(["black", "0", "0", "0"]) 
 806  table.add_row(["dark slate grey", "47", "79", "79"]) 
 807  table.add_row(["dim grey", "105", "105", "105"]) 
 808  table.add_row(["slate grey", "112", "128", "144"]) 
 809  table.add_row(["light slate grey", "119", "136", "153"]) 
 810  table.add_row(["grey", "190", "190", "190"]) 
 811  table.add_row(["light grey", "211", "211", "211"]) 
 812  table.add_row(["midnight blue", "25", "25", "112"]) 
 813  table.add_row(["navy", "0", "0", "128"]) 
 814  table.add_row(["cornflower blue", "100", "149", "237"]) 
 815  table.add_row(["dark slate blue", "72", "61", "139"]) 
 816  table.add_row(["slate blue", "106", "90", "205"]) 
 817  table.add_row(["medium slate blue", "123", "104", "238"]) 
 818  table.add_row(["light slate blue", "132", "112", "255"]) 
 819  table.add_row(["medium blue", "0", "0", "205"]) 
 820  table.add_row(["royal blue", "65", "105", "225"]) 
 821  table.add_row(["blue", "0", "0", "255"]) 
 822  table.add_row(["dodger blue", "30", "144", "255"]) 
 823  table.add_row(["deep sky blue", "0", "191", "255"]) 
 824  table.add_row(["sky blue", "135", "206", "235"]) 
 825  table.add_row(["light sky blue", "135", "206", "250"]) 
 826  table.add_row(["steel blue", "70", "130", "180"]) 
 827  table.add_row(["light steel blue", "176", "196", "222"]) 
 828  table.add_row(["light blue", "173", "216", "230"]) 
 829  table.add_row(["powder blue", "176", "224", "230"]) 
 830  table.add_row(["pale turquoise", "175", "238", "238"]) 
 831  table.add_row(["dark turquoise", "0", "206", "209"]) 
 832  table.add_row(["medium turquoise", "72", "209", "204"]) 
 833  table.add_row(["turquoise", "64", "224", "208"]) 
 834  table.add_row(["cyan", "0", "255", "255"]) 
 835  table.add_row(["light cyan", "224", "255", "255"]) 
 836  table.add_row(["cadet blue", "95", "158", "160"]) 
 837  table.add_row(["medium aquamarine", "102", "205", "170"]) 
 838  table.add_row(["aquamarine", "127", "255", "212"]) 
 839  table.add_row(["dark green", "0", "100", "0"]) 
 840  table.add_row(["dark olive green", "85", "107", "47"]) 
 841  table.add_row(["dark sea green", "143", "188", "143"]) 
 842  table.add_row(["sea green", "46", "139", "87"]) 
 843  table.add_row(["medium sea green", "60", "179", "113"]) 
 844  table.add_row(["light sea green", "32", "178", "170"]) 
 845  table.add_row(["pale green", "152", "251", "152"]) 
 846  table.add_row(["spring green", "0", "255", "127"]) 
 847  table.add_row(["lawn green", "124", "252", "0"]) 
 848  table.add_row(["green", "0", "255", "0"]) 
 849  table.add_row(["chartreuse", "127", "255", "0"]) 
 850  table.add_row(["medium spring green", "0", "250", "154"]) 
 851  table.add_row(["green yellow", "173", "255", "47"]) 
 852  table.add_row(["lime green", "50", "205", "50"]) 
 853  table.add_row(["yellow green", "154", "205", "50"]) 
 854  table.add_row(["forest green", "34", "139", "34"]) 
 855  table.add_row(["olive drab", "107", "142", "35"]) 
 856  table.add_row(["dark khaki", "189", "183", "107"]) 
 857  table.add_row(["khaki", "240", "230", "140"]) 
 858  table.add_row(["pale goldenrod", "238", "232", "170"]) 
 859  table.add_row(["light goldenrod yellow", "250", "250", "210"]) 
 860  table.add_row(["light yellow", "255", "255", "224"]) 
 861  table.add_row(["yellow", "255", "255", "0"]) 
 862  table.add_row(["gold", "255", "215", "0"]) 
 863  table.add_row(["light goldenrod", "238", "221", "130"]) 
 864  table.add_row(["goldenrod", "218", "165", "32"]) 
 865  table.add_row(["dark goldenrod", "184", "134", "11"]) 
 866  table.add_row(["rosy brown", "188", "143", "143"]) 
 867  table.add_row(["indian red", "205", "92", "92"]) 
 868  table.add_row(["saddle brown", "139", "69", "19"]) 
 869  table.add_row(["sienna", "160", "82", "45"]) 
 870  table.add_row(["peru", "205", "133", "63"]) 
 871  table.add_row(["burlywood", "222", "184", "135"]) 
 872  table.add_row(["beige", "245", "245", "220"]) 
 873  table.add_row(["wheat", "245", "222", "179"]) 
 874  table.add_row(["sandy brown", "244", "164", "96"]) 
 875  table.add_row(["tan", "210", "180", "140"]) 
 876  table.add_row(["chocolate", "210", "105", "30"]) 
 877  table.add_row(["firebrick", "178", "34", "34"]) 
 878  table.add_row(["brown", "165", "42", "42"]) 
 879  table.add_row(["dark salmon", "233", "150", "122"]) 
 880  table.add_row(["salmon", "250", "128", "114"]) 
 881  table.add_row(["light salmon", "255", "160", "122"]) 
 882  table.add_row(["orange", "255", "165", "0"]) 
 883  table.add_row(["dark orange", "255", "140", "0"]) 
 884  table.add_row(["coral", "255", "127", "80"]) 
 885  table.add_row(["light coral", "240", "128", "128"]) 
 886  table.add_row(["tomato", "255", "99", "71"]) 
 887  table.add_row(["orange red", "255", "69", "0"]) 
 888  table.add_row(["red", "255", "0", "0"]) 
 889  table.add_row(["hot pink", "255", "105", "180"]) 
 890  table.add_row(["deep pink", "255", "20", "147"]) 
 891  table.add_row(["pink", "255", "192", "203"]) 
 892  table.add_row(["light pink", "255", "182", "193"]) 
 893  table.add_row(["pale violet red", "219", "112", "147"]) 
 894  table.add_row(["maroon", "176", "48", "96"]) 
 895  table.add_row(["medium violet red", "199", "21", "133"]) 
 896  table.add_row(["violet red", "208", "32", "144"]) 
 897  table.add_row(["magenta", "255", "0", "255"]) 
 898  table.add_row(["violet", "238", "130", "238"]) 
 899  table.add_row(["plum", "221", "160", "221"]) 
 900  table.add_row(["orchid", "218", "112", "214"]) 
 901  table.add_row(["medium orchid", "186", "85", "211"]) 
 902  table.add_row(["dark orchid", "153", "50", "204"]) 
 903  table.add_row(["dark violet", "148", "0", "211"]) 
 904  table.add_row(["blue violet", "138", "43", "226"]) 
 905  table.add_row(["purple", "160", "32", "240"]) 
 906  table.add_row(["medium purple", "147", "112", "219"]) 
 907  table.add_row(["thistle", "216", "191", "216"]) 
 908  table.add_row(["snow 1", "255", "250", "250"]) 
 909  table.add_row(["snow 2", "238", "233", "233"]) 
 910  table.add_row(["snow 3", "205", "201", "201"]) 
 911  table.add_row(["snow 4", "139", "137", "137"]) 
 912  table.add_row(["seashell 1", "255", "245", "238"]) 
 913  table.add_row(["seashell 2", "238", "229", "222"]) 
 914  table.add_row(["seashell 3", "205", "197", "191"]) 
 915  table.add_row(["seashell 4", "139", "134", "130"]) 
 916  table.add_row(["antique white 1", "255", "239", "219"]) 
 917  table.add_row(["antique white 2", "238", "223", "204"]) 
 918  table.add_row(["antique white 3", "205", "192", "176"]) 
 919  table.add_row(["antique white 4", "139", "131", "120"]) 
 920  table.add_row(["bisque 1", "255", "228", "196"]) 
 921  table.add_row(["bisque 2", "238", "213", "183"]) 
 922  table.add_row(["bisque 3", "205", "183", "158"]) 
 923  table.add_row(["bisque 4", "139", "125", "107"]) 
 924  table.add_row(["peach puff 1", "255", "218", "185"]) 
 925  table.add_row(["peach puff 2", "238", "203", "173"]) 
 926  table.add_row(["peach puff 3", "205", "175", "149"]) 
 927  table.add_row(["peach puff 4", "139", "119", "101"]) 
 928  table.add_row(["navajo white 1", "255", "222", "173"]) 
 929  table.add_row(["navajo white 2", "238", "207", "161"]) 
 930  table.add_row(["navajo white 3", "205", "179", "139"]) 
 931  table.add_row(["navajo white 4", "139", "121", "94"]) 
 932  table.add_row(["lemon chiffon 1", "255", "250", "205"]) 
 933  table.add_row(["lemon chiffon 2", "238", "233", "191"]) 
 934  table.add_row(["lemon chiffon 3", "205", "201", "165"]) 
 935  table.add_row(["lemon chiffon 4", "139", "137", "112"]) 
 936  table.add_row(["cornsilk 1", "255", "248", "220"]) 
 937  table.add_row(["cornsilk 2", "238", "232", "205"]) 
 938  table.add_row(["cornsilk 3", "205", "200", "177"]) 
 939  table.add_row(["cornsilk 4", "139", "136", "120"]) 
 940  table.add_row(["ivory 1", "255", "255", "240"]) 
 941  table.add_row(["ivory 2", "238", "238", "224"]) 
 942  table.add_row(["ivory 3", "205", "205", "193"]) 
 943  table.add_row(["ivory 4", "139", "139", "131"]) 
 944  table.add_row(["honeydew 1", "240", "255", "240"]) 
 945  table.add_row(["honeydew 2", "224", "238", "224"]) 
 946  table.add_row(["honeydew 3", "193", "205", "193"]) 
 947  table.add_row(["honeydew 4", "131", "139", "131"]) 
 948  table.add_row(["lavender blush 1", "255", "240", "245"]) 
 949  table.add_row(["lavender blush 2", "238", "224", "229"]) 
 950  table.add_row(["lavender blush 3", "205", "193", "197"]) 
 951  table.add_row(["lavender blush 4", "139", "131", "134"]) 
 952  table.add_row(["misty rose 1", "255", "228", "225"]) 
 953  table.add_row(["misty rose 2", "238", "213", "210"]) 
 954  table.add_row(["misty rose 3", "205", "183", "181"]) 
 955  table.add_row(["misty rose 4", "139", "125", "123"]) 
 956  table.add_row(["azure 1", "240", "255", "255"]) 
 957  table.add_row(["azure 2", "224", "238", "238"]) 
 958  table.add_row(["azure 3", "193", "205", "205"]) 
 959  table.add_row(["azure 4", "131", "139", "139"]) 
 960  table.add_row(["slate blue 1", "131", "111", "255"]) 
 961  table.add_row(["slate blue 2", "122", "103", "238"]) 
 962  table.add_row(["slate blue 3", "105", "89", "205"]) 
 963  table.add_row(["slate blue 4", "71", "60", "139"]) 
 964  table.add_row(["royal blue 1", "72", "118", "255"]) 
 965  table.add_row(["royal blue 2", "67", "110", "238"]) 
 966  table.add_row(["royal blue 3", "58", "95", "205"]) 
 967  table.add_row(["royal blue 4", "39", "64", "139"]) 
 968  table.add_row(["blue 1", "0", "0", "255"]) 
 969  table.add_row(["blue 2", "0", "0", "238"]) 
 970  table.add_row(["blue 3", "0", "0", "205"]) 
 971  table.add_row(["blue 4", "0", "0", "139"]) 
 972  table.add_row(["dodger blue 1", "30", "144", "255"]) 
 973  table.add_row(["dodger blue 2", "28", "134", "238"]) 
 974  table.add_row(["dodger blue 3", "24", "116", "205"]) 
 975  table.add_row(["dodger blue 4", "16", "78", "139"]) 
 976  table.add_row(["steel blue 1", "99", "184", "255"]) 
 977  table.add_row(["steel blue 2", "92", "172", "238"]) 
 978  table.add_row(["steel blue 3", "79", "148", "205"]) 
 979  table.add_row(["steel blue 4", "54", "100", "139"]) 
 980  table.add_row(["deep sky blue 1", "0", "191", "255"]) 
 981  table.add_row(["deep sky blue 2", "0", "178", "238"]) 
 982  table.add_row(["deep sky blue 3", "0", "154", "205"]) 
 983  table.add_row(["deep sky blue 4", "0", "104", "139"]) 
 984  table.add_row(["sky blue 1", "135", "206", "255"]) 
 985  table.add_row(["sky blue 2", "126", "192", "238"]) 
 986  table.add_row(["sky blue 3", "108", "166", "205"]) 
 987  table.add_row(["sky blue 4", "74", "112", "139"]) 
 988  table.add_row(["light sky blue 1", "176", "226", "255"]) 
 989  table.add_row(["light sky blue 2", "164", "211", "238"]) 
 990  table.add_row(["light sky blue 3", "141", "182", "205"]) 
 991  table.add_row(["light sky blue 4", "96", "123", "139"]) 
 992  table.add_row(["slate grey 1", "198", "226", "255"]) 
 993  table.add_row(["slate grey 2", "185", "211", "238"]) 
 994  table.add_row(["slate grey 3", "159", "182", "205"]) 
 995  table.add_row(["slate grey 4", "108", "123", "139"]) 
 996  table.add_row(["light steel blue 1", "202", "225", "255"]) 
 997  table.add_row(["light steel blue 2", "188", "210", "238"]) 
 998  table.add_row(["light steel blue 3", "162", "181", "205"]) 
 999  table.add_row(["light steel blue 4", "110", "123", "139"]) 
1000  table.add_row(["light blue 1", "191", "239", "255"]) 
1001  table.add_row(["light blue 2", "178", "223", "238"]) 
1002  table.add_row(["light blue 3", "154", "192", "205"]) 
1003  table.add_row(["light blue 4", "104", "131", "139"]) 
1004  table.add_row(["light cyan 1", "224", "255", "255"]) 
1005  table.add_row(["light cyan 2", "209", "238", "238"]) 
1006  table.add_row(["light cyan 3", "180", "205", "205"]) 
1007  table.add_row(["light cyan 4", "122", "139", "139"]) 
1008  table.add_row(["pale turquoise 1", "187", "255", "255"]) 
1009  table.add_row(["pale turquoise 2", "174", "238", "238"]) 
1010  table.add_row(["pale turquoise 3", "150", "205", "205"]) 
1011  table.add_row(["pale turquoise 4", "102", "139", "139"]) 
1012  table.add_row(["cadet blue 1", "152", "245", "255"]) 
1013  table.add_row(["cadet blue 2", "142", "229", "238"]) 
1014  table.add_row(["cadet blue 3", "122", "197", "205"]) 
1015  table.add_row(["cadet blue 4", "83", "134", "139"]) 
1016  table.add_row(["turquoise 1", "0", "245", "255"]) 
1017  table.add_row(["turquoise 2", "0", "229", "238"]) 
1018  table.add_row(["turquoise 3", "0", "197", "205"]) 
1019  table.add_row(["turquoise 4", "0", "134", "139"]) 
1020  table.add_row(["cyan 1", "0", "255", "255"]) 
1021  table.add_row(["cyan 2", "0", "238", "238"]) 
1022  table.add_row(["cyan 3", "0", "205", "205"]) 
1023  table.add_row(["cyan 4", "0", "139", "139"]) 
1024  table.add_row(["dark slate grey 1", "151", "255", "255"]) 
1025  table.add_row(["dark slate grey 2", "141", "238", "238"]) 
1026  table.add_row(["dark slate grey 3", "121", "205", "205"]) 
1027  table.add_row(["dark slate grey 4", "82", "139", "139"]) 
1028  table.add_row(["aquamarine 1", "127", "255", "212"]) 
1029  table.add_row(["aquamarine 2", "118", "238", "198"]) 
1030  table.add_row(["aquamarine 3", "102", "205", "170"]) 
1031  table.add_row(["aquamarine 4", "69", "139", "116"]) 
1032  table.add_row(["dark sea green 1", "193", "255", "193"]) 
1033  table.add_row(["dark sea green 2", "180", "238", "180"]) 
1034  table.add_row(["dark sea green 3", "155", "205", "155"]) 
1035  table.add_row(["dark sea green 4", "105", "139", "105"]) 
1036  table.add_row(["sea green 1", "84", "255", "159"]) 
1037  table.add_row(["sea green 2", "78", "238", "148"]) 
1038  table.add_row(["sea green 3", "67", "205", "128"]) 
1039  table.add_row(["sea green 4", "46", "139", "87"]) 
1040  table.add_row(["pale green 1", "154", "255", "154"]) 
1041  table.add_row(["pale green 2", "144", "238", "144"]) 
1042  table.add_row(["pale green 3", "124", "205", "124"]) 
1043  table.add_row(["pale green 4", "84", "139", "84"]) 
1044  table.add_row(["spring green 1", "0", "255", "127"]) 
1045  table.add_row(["spring green 2", "0", "238", "118"]) 
1046  table.add_row(["spring green 3", "0", "205", "102"]) 
1047  table.add_row(["spring green 4", "0", "139", "69"]) 
1048  table.add_row(["green 1", "0", "255", "0"]) 
1049  table.add_row(["green 2", "0", "238", "0"]) 
1050  table.add_row(["green 3", "0", "205", "0"]) 
1051  table.add_row(["green 4", "0", "139", "0"]) 
1052  table.add_row(["chartreuse 1", "127", "255", "0"]) 
1053  table.add_row(["chartreuse 2", "118", "238", "0"]) 
1054  table.add_row(["chartreuse 3", "102", "205", "0"]) 
1055  table.add_row(["chartreuse 4", "69", "139", "0"]) 
1056  table.add_row(["olive drab 1", "192", "255", "62"]) 
1057  table.add_row(["olive drab 2", "179", "238", "58"]) 
1058  table.add_row(["olive drab 3", "154", "205", "50"]) 
1059  table.add_row(["olive drab 4", "105", "139", "34"]) 
1060  table.add_row(["dark olive green 1", "202", "255", "112"]) 
1061  table.add_row(["dark olive green 2", "188", "238", "104"]) 
1062  table.add_row(["dark olive green 3", "162", "205", "90"]) 
1063  table.add_row(["dark olive green 4", "110", "139", "61"]) 
1064  table.add_row(["khaki 1", "255", "246", "143"]) 
1065  table.add_row(["khaki 2", "238", "230", "133"]) 
1066  table.add_row(["khaki 3", "205", "198", "115"]) 
1067  table.add_row(["khaki 4", "139", "134", "78"]) 
1068  table.add_row(["light goldenrod 1", "255", "236", "139"]) 
1069  table.add_row(["light goldenrod 2", "238", "220", "130"]) 
1070  table.add_row(["light goldenrod 3", "205", "190", "112"]) 
1071  table.add_row(["light goldenrod 4", "139", "129", "76"]) 
1072  table.add_row(["light yellow 1", "255", "255", "224"]) 
1073  table.add_row(["light yellow 2", "238", "238", "209"]) 
1074  table.add_row(["light yellow 3", "205", "205", "180"]) 
1075  table.add_row(["light yellow 4", "139", "139", "122"]) 
1076  table.add_row(["yellow 1", "255", "255", "0"]) 
1077  table.add_row(["yellow 2", "238", "238", "0"]) 
1078  table.add_row(["yellow 3", "205", "205", "0"]) 
1079  table.add_row(["yellow 4", "139", "139", "0"]) 
1080  table.add_row(["gold 1", "255", "215", "0"]) 
1081  table.add_row(["gold 2", "238", "201", "0"]) 
1082  table.add_row(["gold 3", "205", "173", "0"]) 
1083  table.add_row(["gold 4", "139", "117", "0"]) 
1084  table.add_row(["goldenrod 1", "255", "193", "37"]) 
1085  table.add_row(["goldenrod 2", "238", "180", "34"]) 
1086  table.add_row(["goldenrod 3", "205", "155", "29"]) 
1087  table.add_row(["goldenrod 4", "139", "105", "20"]) 
1088  table.add_row(["dark goldenrod 1", "255", "185", "15"]) 
1089  table.add_row(["dark goldenrod 2", "238", "173", "14"]) 
1090  table.add_row(["dark goldenrod 3", "205", "149", "12"]) 
1091  table.add_row(["dark goldenrod 4", "139", "101", "8"]) 
1092  table.add_row(["rosy brown 1", "255", "193", "193"]) 
1093  table.add_row(["rosy brown 2", "238", "180", "180"]) 
1094  table.add_row(["rosy brown 3", "205", "155", "155"]) 
1095  table.add_row(["rosy brown 4", "139", "105", "105"]) 
1096  table.add_row(["indian red 1", "255", "106", "106"]) 
1097  table.add_row(["indian red 2", "238", "99", "99"]) 
1098  table.add_row(["indian red 3", "205", "85", "85"]) 
1099  table.add_row(["indian red 4", "139", "58", "58"]) 
1100  table.add_row(["sienna 1", "255", "130", "71"]) 
1101  table.add_row(["sienna 2", "238", "121", "66"]) 
1102  table.add_row(["sienna 3", "205", "104", "57"]) 
1103  table.add_row(["sienna 4", "139", "71", "38"]) 
1104  table.add_row(["burlywood 1", "255", "211", "155"]) 
1105  table.add_row(["burlywood 2", "238", "197", "145"]) 
1106  table.add_row(["burlywood 3", "205", "170", "125"]) 
1107  table.add_row(["burlywood 4", "139", "115", "85"]) 
1108  table.add_row(["wheat 1", "255", "231", "186"]) 
1109  table.add_row(["wheat 2", "238", "216", "174"]) 
1110  table.add_row(["wheat 3", "205", "186", "150"]) 
1111  table.add_row(["wheat 4", "139", "126", "102"]) 
1112  table.add_row(["tan 1", "255", "165", "79"]) 
1113  table.add_row(["tan 2", "238", "154", "73"]) 
1114  table.add_row(["tan 3", "205", "133", "63"]) 
1115  table.add_row(["tan 4", "139", "90", "43"]) 
1116  table.add_row(["chocolate 1", "255", "127", "36"]) 
1117  table.add_row(["chocolate 2", "238", "118", "33"]) 
1118  table.add_row(["chocolate 3", "205", "102", "29"]) 
1119  table.add_row(["chocolate 4", "139", "69", "19"]) 
1120  table.add_row(["firebrick 1", "255", "48", "48"]) 
1121  table.add_row(["firebrick 2", "238", "44", "44"]) 
1122  table.add_row(["firebrick 3", "205", "38", "38"]) 
1123  table.add_row(["firebrick 4", "139", "26", "26"]) 
1124  table.add_row(["brown 1", "255", "64", "64"]) 
1125  table.add_row(["brown 2", "238", "59", "59"]) 
1126  table.add_row(["brown 3", "205", "51", "51"]) 
1127  table.add_row(["brown 4", "139", "35", "35"]) 
1128  table.add_row(["salmon 1", "255", "140", "105"]) 
1129  table.add_row(["salmon 2", "238", "130", "98"]) 
1130  table.add_row(["salmon 3", "205", "112", "84"]) 
1131  table.add_row(["salmon 4", "139", "76", "57"]) 
1132  table.add_row(["light salmon 1", "255", "160", "122"]) 
1133  table.add_row(["light salmon 2", "238", "149", "114"]) 
1134  table.add_row(["light salmon 3", "205", "129", "98"]) 
1135  table.add_row(["light salmon 4", "139", "87", "66"]) 
1136  table.add_row(["orange 1", "255", "165", "0"]) 
1137  table.add_row(["orange 2", "238", "154", "0"]) 
1138  table.add_row(["orange 3", "205", "133", "0"]) 
1139  table.add_row(["orange 4", "139", "90", "0"]) 
1140  table.add_row(["dark orange 1", "255", "127", "0"]) 
1141  table.add_row(["dark orange 2", "238", "118", "0"]) 
1142  table.add_row(["dark orange 3", "205", "102", "0"]) 
1143  table.add_row(["dark orange 4", "139", "69", "0"]) 
1144  table.add_row(["coral 1", "255", "114", "86"]) 
1145  table.add_row(["coral 2", "238", "106", "80"]) 
1146  table.add_row(["coral 3", "205", "91", "69"]) 
1147  table.add_row(["coral 4", "139", "62", "47"]) 
1148  table.add_row(["tomato 1", "255", "99", "71"]) 
1149  table.add_row(["tomato 2", "238", "92", "66"]) 
1150  table.add_row(["tomato 3", "205", "79", "57"]) 
1151  table.add_row(["tomato 4", "139", "54", "38"]) 
1152  table.add_row(["orange red 1", "255", "69", "0"]) 
1153  table.add_row(["orange red 2", "238", "64", "0"]) 
1154  table.add_row(["orange red 3", "205", "55", "0"]) 
1155  table.add_row(["orange red 4", "139", "37", "0"]) 
1156  table.add_row(["red 1", "255", "0", "0"]) 
1157  table.add_row(["red 2", "238", "0", "0"]) 
1158  table.add_row(["red 3", "205", "0", "0"]) 
1159  table.add_row(["red 4", "139", "0", "0"]) 
1160  table.add_row(["deep pink 1", "255", "20", "147"]) 
1161  table.add_row(["deep pink 2", "238", "18", "137"]) 
1162  table.add_row(["deep pink 3", "205", "16", "118"]) 
1163  table.add_row(["deep pink 4", "139", "10", "80"]) 
1164  table.add_row(["hot pink 1", "255", "110", "180"]) 
1165  table.add_row(["hot pink 2", "238", "106", "167"]) 
1166  table.add_row(["hot pink 3", "205", "96", "144"]) 
1167  table.add_row(["hot pink 4", "139", "58", "98"]) 
1168  table.add_row(["pink 1", "255", "181", "197"]) 
1169  table.add_row(["pink 2", "238", "169", "184"]) 
1170  table.add_row(["pink 3", "205", "145", "158"]) 
1171  table.add_row(["pink 4", "139", "99", "108"]) 
1172  table.add_row(["light pink 1", "255", "174", "185"]) 
1173  table.add_row(["light pink 2", "238", "162", "173"]) 
1174  table.add_row(["light pink 3", "205", "140", "149"]) 
1175  table.add_row(["light pink 4", "139", "95", "101"]) 
1176  table.add_row(["pale violet red 1", "255", "130", "171"]) 
1177  table.add_row(["pale violet red 2", "238", "121", "159"]) 
1178  table.add_row(["pale violet red 3", "205", "104", "137"]) 
1179  table.add_row(["pale violet red 4", "139", "71", "93"]) 
1180  table.add_row(["maroon 1", "255", "52", "179"]) 
1181  table.add_row(["maroon 2", "238", "48", "167"]) 
1182  table.add_row(["maroon 3", "205", "41", "144"]) 
1183  table.add_row(["maroon 4", "139", "28", "98"]) 
1184  table.add_row(["violet red 1", "255", "62", "150"]) 
1185  table.add_row(["violet red 2", "238", "58", "140"]) 
1186  table.add_row(["violet red 3", "205", "50", "120"]) 
1187  table.add_row(["violet red 4", "139", "34", "82"]) 
1188  table.add_row(["magenta 1", "255", "0", "255"]) 
1189  table.add_row(["magenta 2", "238", "0", "238"]) 
1190  table.add_row(["magenta 3", "205", "0", "205"]) 
1191  table.add_row(["magenta 4", "139", "0", "139"]) 
1192  table.add_row(["orchid 1", "255", "131", "250"]) 
1193  table.add_row(["orchid 2", "238", "122", "233"]) 
1194  table.add_row(["orchid 3", "205", "105", "201"]) 
1195  table.add_row(["orchid 4", "139", "71", "137"]) 
1196  table.add_row(["plum 1", "255", "187", "255"]) 
1197  table.add_row(["plum 2", "238", "174", "238"]) 
1198  table.add_row(["plum 3", "205", "150", "205"]) 
1199  table.add_row(["plum 4", "139", "102", "139"]) 
1200  table.add_row(["medium orchid 1", "224", "102", "255"]) 
1201  table.add_row(["medium orchid 2", "209", "95", "238"]) 
1202  table.add_row(["medium orchid 3", "180", "82", "205"]) 
1203  table.add_row(["medium orchid 4", "122", "55", "139"]) 
1204  table.add_row(["dark orchid 1", "191", "62", "255"]) 
1205  table.add_row(["dark orchid 2", "178", "58", "238"]) 
1206  table.add_row(["dark orchid 3", "154", "50", "205"]) 
1207  table.add_row(["dark orchid 4", "104", "34", "139"]) 
1208  table.add_row(["purple 1", "155", "48", "255"]) 
1209  table.add_row(["purple 2", "145", "44", "238"]) 
1210  table.add_row(["purple 3", "125", "38", "205"]) 
1211  table.add_row(["purple 4", "85", "26", "139"]) 
1212  table.add_row(["medium purple 1", "171", "130", "255"]) 
1213  table.add_row(["medium purple 2", "159", "121", "238"]) 
1214  table.add_row(["medium purple 3", "137", "104", "205"]) 
1215  table.add_row(["medium purple 4", "93", "71", "139"]) 
1216  table.add_row(["thistle 1", "255", "225", "255"]) 
1217  table.add_row(["thistle 2", "238", "210", "238"]) 
1218  table.add_row(["thistle 3", "205", "181", "205"]) 
1219  table.add_row(["thistle 4", "139", "123", "139"]) 
1220  table.add_row(["grey 0", "0", "0", "0"]) 
1221  table.add_row(["grey 1", "3", "3", "3"]) 
1222  table.add_row(["grey 2", "5", "5", "5"]) 
1223  table.add_row(["grey 3", "8", "8", "8"]) 
1224  table.add_row(["grey 4", "10", "10", "10"]) 
1225  table.add_row(["grey 5", "13", "13", "13"]) 
1226  table.add_row(["grey 6", "15", "15", "15"]) 
1227  table.add_row(["grey 7", "18", "18", "18"]) 
1228  table.add_row(["grey 8", "20", "20", "20"]) 
1229  table.add_row(["grey 9", "23", "23", "23"]) 
1230  table.add_row(["grey 10", "26", "26", "26"]) 
1231  table.add_row(["grey 11", "28", "28", "28"]) 
1232  table.add_row(["grey 12", "31", "31", "31"]) 
1233  table.add_row(["grey 13", "33", "33", "33"]) 
1234  table.add_row(["grey 14", "36", "36", "36"]) 
1235  table.add_row(["grey 15", "38", "38", "38"]) 
1236  table.add_row(["grey 16", "41", "41", "41"]) 
1237  table.add_row(["grey 17", "43", "43", "43"]) 
1238  table.add_row(["grey 18", "46", "46", "46"]) 
1239  table.add_row(["grey 19", "48", "48", "48"]) 
1240  table.add_row(["grey 20", "51", "51", "51"]) 
1241  table.add_row(["grey 21", "54", "54", "54"]) 
1242  table.add_row(["grey 22", "56", "56", "56"]) 
1243  table.add_row(["grey 23", "59", "59", "59"]) 
1244  table.add_row(["grey 24", "61", "61", "61"]) 
1245  table.add_row(["grey 25", "64", "64", "64"]) 
1246  table.add_row(["grey 26", "66", "66", "66"]) 
1247  table.add_row(["grey 27", "69", "69", "69"]) 
1248  table.add_row(["grey 28", "71", "71", "71"]) 
1249  table.add_row(["grey 29", "74", "74", "74"]) 
1250  table.add_row(["grey 30", "77", "77", "77"]) 
1251  table.add_row(["grey 31", "79", "79", "79"]) 
1252  table.add_row(["grey 32", "82", "82", "82"]) 
1253  table.add_row(["grey 33", "84", "84", "84"]) 
1254  table.add_row(["grey 34", "87", "87", "87"]) 
1255  table.add_row(["grey 35", "89", "89", "89"]) 
1256  table.add_row(["grey 36", "92", "92", "92"]) 
1257  table.add_row(["grey 37", "94", "94", "94"]) 
1258  table.add_row(["grey 38", "97", "97", "97"]) 
1259  table.add_row(["grey 39", "99", "99", "99"]) 
1260  table.add_row(["grey 40", "102", "102", "102"]) 
1261  table.add_row(["grey 41", "105", "105", "105"]) 
1262  table.add_row(["grey 42", "107", "107", "107"]) 
1263  table.add_row(["grey 43", "110", "110", "110"]) 
1264  table.add_row(["grey 44", "112", "112", "112"]) 
1265  table.add_row(["grey 45", "115", "115", "115"]) 
1266  table.add_row(["grey 46", "117", "117", "117"]) 
1267  table.add_row(["grey 47", "120", "120", "120"]) 
1268  table.add_row(["grey 48", "122", "122", "122"]) 
1269  table.add_row(["grey 49", "125", "125", "125"]) 
1270  table.add_row(["grey 50", "127", "127", "127"]) 
1271  table.add_row(["grey 51", "130", "130", "130"]) 
1272  table.add_row(["grey 52", "133", "133", "133"]) 
1273  table.add_row(["grey 53", "135", "135", "135"]) 
1274  table.add_row(["grey 54", "138", "138", "138"]) 
1275  table.add_row(["grey 55", "140", "140", "140"]) 
1276  table.add_row(["grey 56", "143", "143", "143"]) 
1277  table.add_row(["grey 57", "145", "145", "145"]) 
1278  table.add_row(["grey 58", "148", "148", "148"]) 
1279  table.add_row(["grey 59", "150", "150", "150"]) 
1280  table.add_row(["grey 60", "153", "153", "153"]) 
1281  table.add_row(["grey 61", "156", "156", "156"]) 
1282  table.add_row(["grey 62", "158", "158", "158"]) 
1283  table.add_row(["grey 63", "161", "161", "161"]) 
1284  table.add_row(["grey 64", "163", "163", "163"]) 
1285  table.add_row(["grey 65", "166", "166", "166"]) 
1286  table.add_row(["grey 66", "168", "168", "168"]) 
1287  table.add_row(["grey 67", "171", "171", "171"]) 
1288  table.add_row(["grey 68", "173", "173", "173"]) 
1289  table.add_row(["grey 69", "176", "176", "176"]) 
1290  table.add_row(["grey 70", "179", "179", "179"]) 
1291  table.add_row(["grey 71", "181", "181", "181"]) 
1292  table.add_row(["grey 72", "184", "184", "184"]) 
1293  table.add_row(["grey 73", "186", "186", "186"]) 
1294  table.add_row(["grey 74", "189", "189", "189"]) 
1295  table.add_row(["grey 75", "191", "191", "191"]) 
1296  table.add_row(["grey 76", "194", "194", "194"]) 
1297  table.add_row(["grey 77", "196", "196", "196"]) 
1298  table.add_row(["grey 78", "199", "199", "199"]) 
1299  table.add_row(["grey 79", "201", "201", "201"]) 
1300  table.add_row(["grey 80", "204", "204", "204"]) 
1301  table.add_row(["grey 81", "207", "207", "207"]) 
1302  table.add_row(["grey 82", "209", "209", "209"]) 
1303  table.add_row(["grey 83", "212", "212", "212"]) 
1304  table.add_row(["grey 84", "214", "214", "214"]) 
1305  table.add_row(["grey 85", "217", "217", "217"]) 
1306  table.add_row(["grey 86", "219", "219", "219"]) 
1307  table.add_row(["grey 87", "222", "222", "222"]) 
1308  table.add_row(["grey 88", "224", "224", "224"]) 
1309  table.add_row(["grey 89", "227", "227", "227"]) 
1310  table.add_row(["grey 90", "229", "229", "229"]) 
1311  table.add_row(["grey 91", "232", "232", "232"]) 
1312  table.add_row(["grey 92", "235", "235", "235"]) 
1313  table.add_row(["grey 93", "237", "237", "237"]) 
1314  table.add_row(["grey 94", "240", "240", "240"]) 
1315  table.add_row(["grey 95", "242", "242", "242"]) 
1316  table.add_row(["grey 96", "245", "245", "245"]) 
1317  table.add_row(["grey 97", "247", "247", "247"]) 
1318  table.add_row(["grey 98", "250", "250", "250"]) 
1319  table.add_row(["grey 99", "252", "252", "252"]) 
1320  table.add_row(["grey 100", "255", "255", "255"]) 
1321  table.add_row(["dark grey", "169", "169", "169"]) 
1322  table.add_row(["dark blue", "0", "0", "139"]) 
1323  table.add_row(["dark cyan", "0", "139", "139"]) 
1324  table.add_row(["dark magenta", "139", "0", "139"]) 
1325  table.add_row(["dark red", "139", "0", "0"]) 
1326  table.add_row(["light green", "144", "238", "144"]) 
1327  __x11_colours_doc__.add_table(table.label) 
1328