TransparentColor

TransparentColor

new TransparentColor()

Description:
  • Class representing a color with transparency information.

Source:
Implements:

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:
Implements:
Returns:

An array containing the red, green, and blue values, in that order.

Type
Array.<number>