Returns whether the given string is a valid hex color
Optional
the hex color to check
whether the given string is a valid hex color
isHex('#ff0000'); Copy
isHex('#ff0000');
Returns whether the given string is a valid hex color