The blue value.
The green value.
The red value.
Creates a deep clone of the Color instance.
Takes an array of rgb(a) values, named string, hex string or an hsl(a) string, an object with r, g, b, and a properties, or a Color object and sets this color instance to the input value.
Static blendCreates a Color instance by blending two colors using a weight factor.
Optional out: EsriColourStatic fromCreates a Color instance using a 3 or 4 element array, mapping each element in sequence to the rgb(a) values of the color.
Optional t: EsriColourStatic fromCreates a Color instance from a hex string with a '#' prefix.
Optional t: EsriColourStatic fromJSONCreates a new Color instance, and initializes it with values from a JSON object.
Static fromCreates a Color instance from a string of the form "rgb()" or "rgba()".
Optional out: EsriColourStatic fromCreates a Color instance by parsing a generic string.
Optional obj: EsriColourGenerated using TypeDoc
The alpha value.
Read more...