code: def get_win_color(color):
      
      foreground = background = style = None
      control = ''
      if ";" in color:
          control, color = color.split(";", 1)
          if control == bold:
              style = colorama.BRIGHT
      if color in InverseColors:
          background = WinColor[color]
      else:
          foreground = WinColor.get(color)
      return foreground, background, style
docs: Convert a named color definition to Windows console color foreground,
      background and style numbers.