colors module¶
Utilities for working with colors.
adjust_lightness function¶
Lightens the given color by multiplying (1-luminosity) by the given amount.
Input can be matplotlib color string, hex string, or RGB tuple. Output will be an RGB string.
adjust_opacity function¶
Adjust opacity of color.
map_value_to_cmap function¶
Get RGB of value from the colormap.
parse_rgb_tuple function¶
Parse floating RGB tuple from string.
parse_rgba_tuple function¶
Parse floating RGBA tuple from string.