- Description:
Interface for classes that represent a color.
- Source:
Interface for classes that represent a color.
Methods
rgb() → {Array.<number>}
- Description:
Get the color as an array of red, green, and blue values, represented as decimal numbers between 0 and 1.
- Source:
Returns:
An array containing the red, green, and blue values, in that order.
- Type
- Array.<number>