@lowcodeunit/lcu-charts-common
Version:
A Charting and Graphing Library based on and influenced by Ngx-charts
22 lines • 695 B
TypeScript
/**
* Converts a hex to RGB
*
* @export
*/
export declare function hexToRgb(value: string): any;
/**
* Accepts a color (string) and returns a inverted hex color (string)
* http://stackoverflow.com/questions/9600295/automatically-change-text-color-to-assure-readability
*
* @export
*/
export declare function invertColor(value: string): string;
/**
* Given a rgb, it will darken/lighten
* http://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
*
* @export
* @param \{ r, g, b }
*/
export declare function shadeRGBColor({ r, g, b }: any, percent: any): string;
//# sourceMappingURL=color-utils.d.ts.map