Color
external class Color(var red: Double = definedExternally, var green: Double = definedExternally, var blue: Double = definedExternally, var alpha: Double = definedExternally)(source)
A color, specified using red, green, blue, and alpha values, which range from 0
(no intensity) to 1.0
(full intensity).
See also
Constructors
Functions
Link copied to clipboard
Returns true
if this Color equals other componentwise within the specified epsilon.
Link copied to clipboard
Converts this color to an array of red, green, blue, and alpha values that are in the range of 0 to 255.
Link copied to clipboard
Creates a string containing the CSS color value for this color.
Link copied to clipboard
Creates a string containing CSS hex string color value for this color.