jc-color
Version:
A JavaScript tool for color compute and console print tool both for NodeJS and Browser.
9 lines (8 loc) • 463 B
TypeScript
import { RgbColorChannels } from "../types";
declare function computHex3(val: RgbColorChannels): string;
declare function computHex6(val: RgbColorChannels): string;
declare function hex3ToHex6(hex3: string): string;
declare function channelsToHex(channels: RgbColorChannels): string;
declare function hslToHex(val: string): string;
declare function rgbToHex(val: string): string;
export { computHex3, computHex6, hex3ToHex6, channelsToHex, hslToHex, rgbToHex, };