dojo.colorFromRgb
rgba, hsl, hsla, including rgb(a) with percentage values.
this function can handle all 4 CSS3 Color Module formats: rgb,
Usage
function (/*String*/ color, /*dojo.Color?*/ obj)
parameter | type | description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
color | String | |||||||||||||||||||||||||||||||
obj | dojo.Color | Optional. takes a named string, hex string, array of rgb or rgba values, an object with r, g, b, and a properties, or another dojo.Color object
|