seaborn.set_hls_values#

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

獨立操作色彩的 h、l 或 s 通道。

參數:
colormatplotlib 色彩

十六進位碼、rgb 元組或 html 色彩名稱

h, l, s介於 0 和 1 之間的浮點數,或 None

hls 空間中每個通道的新值

回傳值:
new_colorrgb 元組

以 RGB 元組表示的新色彩碼