msmexplorer.utils.extract_palette

msmexplorer.utils.extract_palette(color_palette)

Extract color palette information and return a str/list of hex colors.

Parameters:
color_palette : str, list, or dict

A color string, list of color strings, or color palette dict

Returns:
colors : list

Either a hex color or list of hex colors