ColorInfo

@Serializable
data class ColorInfo(val color: Color, val gamutType: GamutType, val gamut: Gamut? = null)

Information about a light's color and color capabilities.

Constructors

Link copied to clipboard
fun ColorInfo(color: Color, gamutType: GamutType, gamut: Gamut? = null)

Properties

Link copied to clipboard
val color: Color

Current color of the light

Link copied to clipboard
@Serializable
val gamut: Gamut? = null

Color gamut of color bulb. Some bulbs do not properly return the Gamut information. In this case this is not present.

Link copied to clipboard

Simple Hue gamut type