🔍Format and Validate Hex

formatAndValidateHex ⇒ string

Formats and validates the hexadecimal code.

Kind: global variable Returns: string - Formatted and validated hexadecimal code

ParamTypeDescription

hex

string

Hexadecimal code for formatting and validation

alt

string

Alternative color if code is invalid

Last updated