Home > @ibloat/homie-ts > ColorRGB
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
Property | Access Modifier | Type | Description |
---|---|---|---|
b |
number |
||
g |
number |
||
r |
number |
Method | Access Modifier | Returns | Description |
---|---|---|---|
constructor(r, g, b) |
Constructs a new instance of the ColorRGB class | ||
toHSV() |
ColorHSV |