1 | import type { IColor, IHsl, IHsla, IRangeColor, IRgb, IRgba } from "../Core/Interfaces/Colors";
|
2 | import type { HslAnimation } from "../Options/Classes/HslAnimation";
|
3 | import type { IColorManager } from "../Core/Interfaces/IColorManager";
|
4 | import type { IOptionsColor } from "../Options/Interfaces/IOptionsColor";
|
5 | import type { IParticle } from "../Core/Interfaces/IParticle";
|
6 | import type { IParticleHslAnimation } from "../Core/Interfaces/IParticleHslAnimation";
|
7 | export declare function addColorManager(manager: IColorManager): void;
|
8 | export declare function rangeColorToRgb(input?: string | IRangeColor, index?: number, useIndex?: boolean): IRgb | undefined;
|
9 | export declare function colorToRgb(input?: string | IColor, index?: number, useIndex?: boolean): IRgb | undefined;
|
10 | export declare function colorToHsl(color: string | IColor | undefined, index?: number, useIndex?: boolean): IHsl | undefined;
|
11 | export declare function rangeColorToHsl(color: string | IRangeColor | undefined, index?: number, useIndex?: boolean): IHsl | undefined;
|
12 | export declare function rgbToHsl(color: IRgb): IHsl;
|
13 | export declare function stringToAlpha(input: string): number | undefined;
|
14 | export declare function stringToRgb(input: string): IRgb | undefined;
|
15 | export declare function hslToRgb(hsl: IHsl): IRgb;
|
16 | export declare function hslaToRgba(hsla: IHsla): IRgba;
|
17 | export declare function getRandomRgbColor(min?: number): IRgb;
|
18 | export declare function getStyleFromRgb(color: IRgb, opacity?: number): string;
|
19 | export declare function getStyleFromHsl(color: IHsl, opacity?: number): string;
|
20 | export declare function colorMix(color1: IRgb | IHsl, color2: IRgb | IHsl, size1: number, size2: number): IRgb;
|
21 | export declare function getLinkColor(p1: IParticle, p2?: IParticle, linkColor?: string | IRgb): IRgb | undefined;
|
22 | export declare function getLinkRandomColor(optColor: string | IOptionsColor, blink: boolean, consent: boolean): IRgb | string | undefined;
|
23 | export declare function getHslFromAnimation(animation?: IParticleHslAnimation): IHsl | undefined;
|
24 | export declare function getHslAnimationFromHsl(hsl: IHsl, animationOptions: HslAnimation | undefined, reduceFactor: number): IParticleHslAnimation;
|