windkit.plot.color.Color.get_color_list

Color.get_color_list(html=False, index=None)[source]

Return a formatted list of colors.

Parameters:
  • html (bool, optional. Default: False) – If True, the colors will be in html format.

  • index (list, optional. Default: None) – If not None, return only the colors at the specified indices.