Appearance
function hexToRgb(hex): RgbColor;
Converts a hex color string to an RgbColor object.
RgbColor
hex
string
hexToRgb('#ff6600') // => { r: 255, g: 102, b: 0, a: 1 }
1.0.0