invoke

operator fun invoke(rgb: Color): HslColor(source)

Create a new HslColor from an RGB Color.

Parameters

rgb

color to convert