1 | import { HSLColor, HSBColor } from './color-types';
|
2 | export declare function lightenColor(color: HSLColor | string, lighten?: number): string | {
|
3 | lightness: number;
|
4 | hue: number;
|
5 | saturation: number;
|
6 | };
|
7 | export declare function darkenColor(color: HSLColor | string, lighten?: number): string | {
|
8 | lightness: number;
|
9 | hue: number;
|
10 | saturation: number;
|
11 | };
|
12 | export declare function saturateColor(color: HSLColor | HSBColor | string, saturate?: number): string | {
|
13 | saturation: number;
|
14 | brightness: number;
|
15 | hue: number;
|
16 | } | {
|
17 | saturation: number;
|
18 | lightness: number;
|
19 | hue: number;
|
20 | };
|
21 | export declare function createDarkColor(color: HSLColor | string, darkness: number, saturation: number): string | {
|
22 | saturation: number;
|
23 | brightness: number;
|
24 | hue: number;
|
25 | } | {
|
26 | saturation: number;
|
27 | lightness: number;
|
28 | hue: number;
|
29 | };
|
30 | export declare function createLightColor(color: HSLColor | string, lightness: number, saturation: number): string | {
|
31 | saturation: number;
|
32 | brightness: number;
|
33 | hue: number;
|
34 | } | {
|
35 | saturation: number;
|
36 | lightness: number;
|
37 | hue: number;
|
38 | };
|