@jbrowse/core
Version:
JBrowse 2 core libraries used by plugins
24 lines (23 loc) • 505 B
TypeScript
interface HSLA {
h: number;
s: number;
l: number;
a: number;
}
export interface Colord {
alpha(): number;
alpha(value: number): Colord;
toHex(): string;
toRgbString(): string;
toHsl(): HSLA;
toHslString(): string;
mix(color: Colord | string, ratio?: number): Colord;
darken(amount?: number): Colord;
lighten(amount?: number): Colord;
}
export declare function colord(input: string | {
h: number;
s: number;
l: number;
}): Colord;
export {};