setHSL

fun setHSL(h: Double, s: Double, l: Double, colorSpace: ColorSpace = ColorManagement.workingColorSpace): Color

Sets this color from HSL values.

Return

A reference to this color.

Parameters

h

Hue value between 0.0 and 1.0.

s

Saturation value between 0.0 and 1.0.

l

Lightness value between 0.0 and 1.0.

colorSpace

The color space of the inputs (defaults to ColorManagement.workingColorSpace).