Skip to content

zHexColor

const zHexColor: ZodString

Validates a color as # followed by six letters or digits and lowercases it; the abbreviated #000 form is rejected.