Format and Validate Hex
formatAndValidateHex ⇒ string
string
Formats and validates the hexadecimal code.
Kind: global variable
Returns: string
- Formatted and validated hexadecimal code
Param
Type
Description
hex
string
Hexadecimal code for formatting and validation
alt
string
Alternative color if code is invalid
Last updated