code: def name_to_int(name):
      
      if not name:
          return float('nan')
      lower = name.lower()
      cga_names = {s: i for i, s in enumerate(colour_names.cga())}
      return cga_names.get(lower) or html_to_small_ansi(lower)
docs: Get a number for that colour name
  
      if not a name, then not a number