requireValidColor

Ensure the color is valid and parsable

Parameters

hexColor

the color input to validate

Throws

if the color cannot be parsed