Skip to content

Scrypted Documentation / ColorSettingRgb

Interface: ColorSettingRgb ​

ColorSettingRgb sets the color of a colored light using the RGB representation.

Properties ​

rgb? ​

optional rgb: ColorRgb

Methods ​

setRgb() ​

setRgb(r, g, b): Promise<void>

Parameters ​

• r: number

• g: number

• b: number

Returns ​

Promise<void>