seaborn.set_hls_values

seaborn.set_hls_values(color, h=None, l=None, s=None)

Independently manipulate the h, l, or s channels of a color.

Parameters:

color : matplotlib color

hex, rgb-tuple, or html color name

h, l, s : floats between 0 and 1, or None

new values for each channel in hls space

Returns:

new_color : rgb tuple

new color code in RGB tuple representation