invoke

operator fun invoke(rgb: Color): HslColor

Create a new HslColor from an RGB Color.

Parameters

rgb

color to convert