UNPKG

yiq

Version:

Returns light when a color is dark and dark when a color is light (and a little more).

3 lines (2 loc) 130 B
export declare function isValidHex(hex: string): boolean; export declare function isValidThreshold(threshold: number): boolean;