export declare const BLACK = 0; export declare const WHITE = 255; /** * Convert a color to a ligher shade. * @param color the original color as a hex string (e.g. #fff or ABCDEF) * @param luminosity the fraction by which to change the brightness, from 0 to 1 */ export declare function lighten(color: string, luminosity: number): string; /** * Validates a hex color and parses it to an integer. * @param color the color as a hex string (e.g. #fff or ABCDEF) */ export declare function parseHex(color: string): number; export declare function zeroPadHex(h: number): string;