Converts a hexadecimal RGB[A] color to a HEXA color.
hexToHexa(0.6706, 0.8039, 0.9373, 1) // return { r: 0.6706, g: 0.8039, b: 0.9373, a: 1 }hexToHexa(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 a HEXA color.
Example