getHSL

fun getHSL(target: HSL, colorSpace: ColorSpace = ColorManagement.workingColorSpace): HSL

Converts this color's RGB values into HSL and stores them into target.

Return

The target HSL representation.

Parameters

target

The object that stores the method's result.

colorSpace

The color space (defaults to ColorManagement.workingColorSpace).