w2utils.parseColor

Returns parsed color object.
parseColor(color)
color string web color
Returns object.

Description

The color argument is a web color. Valid notations include 3, 6 or 8 hex digits with an optional leading hash symbol, as well as rgb() or rgba() notations. Example: Returns It can be used to convert to rgb(...) or rgba(...) notation

See Also

rgb2hsv
hsv2rgb

User Comments

comments powered by Disqus