Converts a hex color value to RGB color format.
The hex color value to convert. Could be a string or a number.
Whether to return the RGB color as an array or an object. Default is false (returns object).
Converts a hex color value to RGB color format.
Throws