seaborn.desaturate

seaborn.desaturate(color, prop)

Decrease the saturation channel of a color by some percent.

Parameters:

color : matplotlib color

hex, rgb-tuple, or html color name

prop : float

saturation channel of color will be multiplied by this value

Returns:

new_color : rgb tuple

desaturated color code in RGB tuple representation