homie-ts

View the Project on GitHub ibloat/homie-ts

Home > @ibloat/homie-ts > ColorRGB

ColorRGB class

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Wraps RGB colors for PropertyType.COLOR property values

Properties

Property Access Modifier Type Description
b   number  
g   number  
r   number  

Methods

Method Access Modifier Returns Description
constructor(r, g, b)     Constructs a new instance of the ColorRGB class
toHSV()   ColorHSV