invoke

operator fun invoke(rgb: Color): HsvColor

Create a new HsvColor from an RGB Color.

Parameters

rgb

color to convert