UNPKG

canvacard

Version:

Powerful image manipulation package for beginners.

10 lines 451 B
export = formatAndValidateHex; /** * @name formatAndValidateHex * @description Formats and validates the hexadecimal code. * @param {string} hex Hexadecimal code for formatting and validation * @param {string} alt Alternative color if code is invalid * @returns {string} Formatted and validated hexadecimal code */ declare function formatAndValidateHex(hex: string, alt?: string): string; //# sourceMappingURL=formatAndValidateHex.utils.d.ts.map