jc-color
Version:
A JavaScript tool for color compute and console print tool both for NodeJS and Browser.
5 lines (4 loc) • 392 B
TypeScript
import type { RgbColorChannels } from "../types";
declare function creatGeadientBase(color1: RgbColorChannels, color2: RgbColorChannels, insert: number, includeNum1?: boolean, includeNum2?: boolean): RgbColorChannels[];
declare function creatGeadient(colors: (string | RgbColorChannels)[], geadient: number, strict?: boolean): RgbColorChannels[];
export { creatGeadientBase, creatGeadient };