'a'
mh-two-thousand-and-two
2024-04-12 44d2c92345cd156a59fc327b3060292a282d2893
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { GradientObject } from '../graphic/Gradient';
export declare function parse(colorStr: string, rgbaArr?: number[]): number[];
export declare function lift(color: string, level: number): string;
export declare function toHex(color: string): string;
export declare function fastLerp(normalizedValue: number, colors: number[][], out?: number[]): number[];
export declare const fastMapToColor: typeof fastLerp;
declare type LerpFullOutput = {
    color: string;
    leftIndex: number;
    rightIndex: number;
    value: number;
};
export declare function lerp(normalizedValue: number, colors: string[], fullOutput: boolean): LerpFullOutput;
export declare function lerp(normalizedValue: number, colors: string[]): string;
export declare const mapToColor: typeof lerp;
export declare function modifyHSL(color: string, h?: number, s?: number, l?: number): string;
export declare function modifyAlpha(color: string, alpha?: number): string;
export declare function stringify(arrColor: number[], type: string): string;
export declare function lum(color: string, backgroundLum: number): number;
export declare function random(): string;
export declare function liftColor(color: GradientObject): GradientObject;
export declare function liftColor(color: string): string;
export {};