UNPKG

@tsports/go-colorful

Version:

A TypeScript port of the go-colorful package for working with colors

12 lines 739 B
import { type Color } from './colors'; import type { RandInterface } from './rand'; export interface SoftPaletteSettings { CheckColor?: (l: number, a: number, b: number) => boolean; Iterations: number; ManySamples: boolean; } export declare function SoftPaletteExWithRand(colorsCount: number, settings: SoftPaletteSettings, rand: RandInterface): [Color[], Error | null]; export declare function SoftPaletteEx(colorsCount: number, settings: SoftPaletteSettings): [Color[], Error | null]; export declare function SoftPaletteWithRand(colorsCount: number, rand: RandInterface): [Color[], Error | null]; export declare function SoftPalette(colorsCount: number): [Color[], Error | null]; //# sourceMappingURL=soft_palettegen.d.ts.map