<static> getWebRGB(color) → {string}
Returns a CSS friendly string value from the given color.
Parameters
Name | Type | Description |
---|---|---|
color | number | Object | Color in RGB (0xRRGGBB), ARGB format (0xAARRGGBB) or an Object with r, g, b, a properties. |
Returns
string -
A string in the format: 'rgba(r,g,b,a)'
- Source code: utils/Color.js (Line 908)
Please login to continue.