export declare function is_color(value: string): boolean;
export declare function rgb2hex(r: number, g: number, b: number): string;
export declare function color2hex(color: string): string;
export declare type RGBA = [number, number, number, number];
export declare function color2rgba(color: string, alpha?: number): RGBA;
export declare function color2css(color: string, alpha?: number): string;
export declare function valid_rgb(value: string): boolean;
