hsv

fun hsv(hue: Float, saturation: Float, value: Float): NextColor

Creates a color from hue, saturation, and brightness values. You can use the NextColorDistanceSensor.debug to find these values.

Parameters

hue

The color's position on the color wheel, in degrees (0–360).

saturation

How vivid the color is (0 = grey, 1 = fully vivid).

value

How bright the color is (0 = black, 1 = full brightness).