scale_saturation¶
-
scale_saturation
(color, scale=1, space='hcl')[source]¶ Scale the saturation channel of a color.
- Parameters
color (color-spec) – The color. Sanitized with
to_rgba
.scale (float, optoinal) – The HCL saturation channel is multiplied by this value.
space ({‘hcl’, ‘hpl’, ‘hsl’, ‘hsv’}, optional) – The hue-saturation-luminance-like colorspace used to transform the color. Default is the perceptually uniform colorspace
'hcl'
.
- Returns
color (4-tuple) – An RGBA tuple.
See also