$isValidHex

Checks if given color hex is valid.

🧙‍♂️ 'true' means the color hex is valid, 'false' means it isn't.

Usage

$isValidHex[colorHex]

Parameters

  • colorHex (Type: String || Flag: Emptiable): The color hex to check.