Creates a new color with the specified components (in range 0-1).
The R (red) component.
The G (green) component.
The B (blue) component.
The A (alpha) component.
The A (alpha) component.
The A (alpha) component.
The B (blue) component.
The B (blue) component.
The G (green) component.
The G (green) component.
The R (red) component.
The R (red) component.
The color as an typed array containing RGB.
The color as an typed array containing RGBA.
Creates a new color from the specified source.
The source to create the color from.
Creates a new color with the specified components (in range 0-255).
The R (red) component.
The G (green) component.
The B (blue) component.
The A (alpha) component.
Creates a new color from the specified hex value.
The hex value as a string or a number.
Generated using TypeDoc
Represents a color containing RGBA components.