Converts a hexadecimal RGB[A] color to an RGBA color.
hexToRgb(0.6706, 0.8039, 0.9373, 0.0392) // return { r: 0.6706, g: 0.8039, b: 0.9373, a: 0.0392 }
Color components as fractions.
Generated using TypeDoc
Converts a hexadecimal RGB[A] color to an RGBA color.
Example