docs: def colored(text, color=None, on_color=None, attrs=None):
      """Colorize text using a reimplementation of the colorizer from
      https://github.com/pavdmyt/yaspin so that it works on windows.
  
      Available text colors:
          red, green, yellow, blue, magenta, cyan, white.
  
      Available text highlights:
          on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white.
  
      Available attributes:
          bold, dark, underline, blink, reverse, concealed.
  
      Example:
          colored('Hello, World!', 'red', 'on_grey', ['blue', 'blink'])
          colored('Hello, World!', 'green')
      """
      return colorize(text, fg=color, bg=on_color, attrs=attrs)