Color
Interface for classes that represent a color.
- Source:
- tags/implements.js, line 6
Methods
rgb() → {Array.<number>}
Get the color as an array of red, green, and blue values, represented as decimal numbers between 0 and 1.
- Source:
- tags/implements.js, line 15
Returns:
An array containing the red, green, and blue values, in that order.
- Type
- number[]
rgb() → {Array.<number>}
Get the color as an array of red, green, and blue values, represented as decimal numbers between 0 and 1.
- Source:
- tags/interface.js, line 15
Returns:
An array containing the red, green, and blue values, in that order.
- Type
- number[]