withHue

open override fun withHue(hue: Double): ColorHSVa(source)

Creates a new color instance with the specified hue value.

Return

a color instance of type T with the specified hue applied.

Parameters

hue

the desired hue value to set for the new color instance, expressed in degrees.