@glideapps/glide-data-grid
Version:
React data grid for beautifully displaying and editing large amounts of data with amazing performance.
16 lines • 750 B
TypeScript
/** @category Drawing */
export declare function parseToRgba(color: string): readonly [number, number, number, number];
/** @category Drawing */
export declare function withAlpha(color: string, alpha: number): string;
export declare function blendCache(color: string, background: string | undefined): string;
/** @category Drawing */
export declare function blend(color: string, background: string | undefined): string;
/** @category Drawing */
export declare function interpolateColors(leftColor: string, rightColor: string, val: number): string;
/**
* Returns a number (float) representing the luminance of a color.
*
* @category Drawing
*/
export declare function getLuminance(color: string): number;
//# sourceMappingURL=color-parser.d.ts.map