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) 140 B
import { YiqUserOptions } from './utils/types'; export declare function colorYiq(colorHex: string, userOptions?: YiqUserOptions): string;