<static> hexToRGB(hex) → {number}
Converts a hex string into an integer color value.
Parameters
Name | Type | Description |
---|---|---|
hex | string | The hex string to convert. Can be in the short-hand format |
Returns
number -
The rgb color value in the format 0xAARRGGBB.
- Source code: utils/Color.js (Line 545)
Please login to continue.