Converts a hex color code to RGB values.
The hex color code.
An object with r, g, and b properties, and an optional a property if the input includes alpha.
If the input is not a valid hex color code.
Converts a hex color code to RGB values.