🔍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 |
| Hexadecimal code for formatting and validation |
alt |
| Alternative color if code is invalid |
Last updated