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