uni-ticket-system/node_modules/licia/Color.d.ts
2023-12-05 10:11:10 +08:00

16 lines
304 B
TypeScript

declare namespace Color {
interface IColor {
val: number[];
model: string;
}
}
declare class Color {
constructor(color: string | Color.IColor);
toRgb(): string;
toHex(): string;
toHsl(): string;
static parse(colorStr: string): Color.IColor;
}
export = Color;