0.11.2
  • Gallery
  • Tutorial
  • API
  • Site
      • Introduction
      • Release notes
      • Installing
      • Example gallery
      • Tutorial
      • API reference
      • Citing
      • Archive
  • Page
      • seaborn.set_hls_values

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
colormatplotlib color

hex, rgb-tuple, or html color name

h, l, sfloats between 0 and 1, or None

new values for each channel in hls space

Returns
new_colorrgb tuple

new color code in RGB tuple representation

Back to top

© Copyright 2012-2021, Michael Waskom. Created using Sphinx 3.3.1.