Interface: Color

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[]

Color

Interface for classes that represent a color.
Source:
tags/interface.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[]
THIS IS A DEMO: All content was generated with examples taken from the JSDoc page.