Generate a selection of random colors that can be used in symbolization. An attempt has been made to constrain the selection to colors that will 'look good' while providing the most diverse set of colors possible. Use for up to 12 colors is generally ok.
Creates a color with the provided number array representation of the color, or null if one can not be created.
A 3 or 4 element list in the order RGB or RGBA.
color
Creates a color with the provided hex string of the color, or null if one can not be created.
A 6 or 8 digit hex in RGB or ARGB form.
color
Creates a CSS color string with the provided hex string of the color.
The 6 or 8 digit hex string in RGB or ARGB form.
The CSS color string or null.
Creates a CSS color string with the provided number array representation of the color.
A 3 or 4 element list in the order RGB or RGBA.
The CSS color string or null.
Detect whether or not the native color input type is supported by the current browser. Returns true when color input is supported, false otherwise.
Generate a random saturated color