interface RgbaColor {
    a?: number;
    b: number;
    g: number;
    r: number;
}
/** CIELAB color space */
interface CIELAB {
    a: number;
    b: number;
    /** perceptual lightness */
    l: number;
}
export declare const isColor: (color: string) => boolean;
export declare const hex2rgb: (hex: string) => RgbaColor;
export declare const rgba2str: (rgba: RgbaColor) => string;
export declare const rgbaMix: (rgba0: RgbaColor, rgba1: RgbaColor, amount: number, rounded?: boolean) => RgbaColor;
export declare const str2rgba: (str: string) => RgbaColor;
/** convert rgb to CIELAB color. ignores alpha values */
export declare const rgb2lab: (rgb: RgbaColor) => CIELAB;
/** calculate euclidean distance between two CIELAB colors */
export declare const labDistance: (lab0: CIELAB, lab1: CIELAB) => number;
export {};
//# sourceMappingURL=color.d.ts.map