Class: or rgba)

or rgba)()

Color Color class accepts a CSS color string, rgb, hsl data as the input, manipulate the color, and returns a CSS-compatible color string.

Constructor

new or rgba)()

Source:
Examples
new Color('#f00')
new Color('#e2b644')
new Color('rgb(255, 0, 100)')
new Color('rgba(255, 0, 100, 0.5)')
new Color([255,0,0])

 //