RGB color representation used by drawing and text APIs.
Properties
| Property | Type | Description |
|---|
b | number | Blue channel value normalized from 0 to 1. |
g | number | Green channel value normalized from 0 to 1. |
kind | "rgb" | Discriminator identifying this value shape. |
r | number | Red channel value normalized from 0 to 1. |