A CSS-compatible color string. An alias for Color#toString.
The color represented as an RGB array.
The numeric value of the red channel between [0, 1].
The numeric value of the green channel between [0, 1].
The numeric value of the blue channel between [0, 1].
The maximum value of all channels.
The minimum value of all channels.
Get the value of this color in little endian format.
The color represented as an HSV array. Conversion formula adapted from http://en.wikipedia.org/wiki/HSV_color_space. Assumes r, g, and b are contained in the set [0, 1] and returns h, s, and v in the set [0, 1].
Get a CSS-compatible RGBA color string.
The desired alpha in the range [0, 1]
A CSS-compatible RGBA string
Iterating over a Color is equivalent to iterating over its [r,g,b] color channels.
Create a Color instance from an HSV array. Conversion formula adapted from http://en.wikipedia.org/wiki/HSV_color_space. Assumes h, s, and v are contained in the set [0, 1].
An HSV tuple
The hex color instance
A representation of a color in hexadecimal format. This class provides methods for transformations and manipulations of colors.