1 | import type { IColor, IHsl, IHsla, IHsv, IHsva, IParticle, IParticleHslAnimation, IRgb, IRgba } from "../Core/Interfaces";
|
2 | import type { HslAnimation } from "../Options/Classes/HslAnimation";
|
3 | export declare function colorToRgb(input?: string | IColor, index?: number, useIndex?: boolean): IRgb | undefined;
|
4 | export declare function colorToHsl(color: string | IColor | undefined, index?: number, useIndex?: boolean): IHsl | undefined;
|
5 | export declare function rgbToHsl(color: IRgb): IHsl;
|
6 | export declare function stringToAlpha(input: string): number | undefined;
|
7 | export declare function stringToRgb(input: string): IRgb | undefined;
|
8 | export declare function hslToRgb(hsl: IHsl): IRgb;
|
9 | export declare function hslaToRgba(hsla: IHsla): IRgba;
|
10 | export declare function hslToHsv(hsl: IHsl): IHsv;
|
11 | export declare function hslaToHsva(hsla: IHsla): IHsva;
|
12 | export declare function hsvToHsl(hsv: IHsv): IHsl;
|
13 | export declare function hsvaToHsla(hsva: IHsva): IHsla;
|
14 | export declare function hsvToRgb(hsv: IHsv): IRgb;
|
15 | export declare function hsvaToRgba(hsva: IHsva): IRgba;
|
16 | export declare function rgbToHsv(rgb: IRgb): IHsv;
|
17 | export declare function rgbaToHsva(rgba: IRgba): IHsva;
|
18 | export declare function getRandomRgbColor(min?: number): IRgb;
|
19 | export declare function getStyleFromRgb(color: IRgb, opacity?: number): string;
|
20 | export declare function getStyleFromHsl(color: IHsl, opacity?: number): string;
|
21 | export declare function getStyleFromHsv(color: IHsv, opacity?: number): string;
|
22 | export declare function colorMix(color1: IRgb | IHsl, color2: IRgb | IHsl, size1: number, size2: number): IRgb;
|
23 | export declare function getLinkColor(p1: IParticle, p2?: IParticle, linkColor?: string | IRgb): IRgb | undefined;
|
24 | export declare function getLinkRandomColor(optColor: string | IColor, blink: boolean, consent: boolean): IRgb | string | undefined;
|
25 | export declare function getHslFromAnimation(animation?: IParticleHslAnimation): IHsl | undefined;
|
26 | export declare function getHslAnimationFromHsl(hsl: IHsl, animationOptions: HslAnimation | undefined, reduceFactor: number): IParticleHslAnimation;
|