@superset-ui/core
Version:
6 lines • 433 B
TypeScript
export declare function getContrastingColor(color: string, thresholds?: number): "#000" | "#FFF";
export declare function getAnalogousColors(colors: string[], results: number): string[];
export declare function addAlpha(color: string, opacity: number): string;
export declare function hexToRgb(h: string): string;
export declare function rgbToHex(red: number, green: number, blue: number): string;
//# sourceMappingURL=utils.d.ts.map