Companion

object Companion

Functions

Link copied to clipboard
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.

Link copied to clipboard
fun rgb(red: Float, green: Float, blue: Float): NextColor

Creates a color from red, green, and blue values. You can use the NextColorDistanceSensor.debug to find these values.