@types/color-convert
- Version 2.0.4
- Published
- 17.8 kB
- 1 dependency
- MIT license
Install
npm i @types/color-convert
yarn add @types/color-convert
pnpm add @types/color-convert
Overview
TypeScript definitions for color-convert
Index
Variables
variable ansi16
const ansi16: typeof conversions.ansi16 & route.ansi16 & { rgb: { raw: (from: number) => conversions.RGB }; hsl: { raw: (from: number) => conversions.HSL }; hsv: { raw: (from: number) => conversions.HSV }; hwb: { raw: (from: number) => conversions.HWB }; cmyk: { raw: (from: number) => conversions.CMYK }; xyz: { raw: (from: number) => conversions.XYZ }; lab: { raw: (from: number) => conversions.LAB }; lch: { raw: (from: number) => conversions.LCH }; hex: { raw: (from: number) => string }; keyword: { raw: (from: number) => string | number | symbol }; ansi256: { raw: (from: number) => number }; hcg: { raw: (from: number) => conversions.HCG }; apple: { raw: (from: number) => conversions.APPLE }; gray: { raw: (from: number) => conversions.GRAY }; };
variable ansi256
const ansi256: typeof conversions.ansi256 & route.ansi256 & { rgb: { raw: (from: number) => conversions.RGB }; hsl: { raw: (from: number) => conversions.HSL }; hsv: { raw: (from: number) => conversions.HSV }; hwb: { raw: (from: number) => conversions.HWB }; cmyk: { raw: (from: number) => conversions.CMYK }; xyz: { raw: (from: number) => conversions.XYZ }; lab: { raw: (from: number) => conversions.LAB }; lch: { raw: (from: number) => conversions.LCH }; hex: { raw: (from: number) => string }; keyword: { raw: (from: number) => string | number | symbol }; ansi16: { raw: (from: number) => number }; hcg: { raw: (from: number) => conversions.HCG }; apple: { raw: (from: number) => conversions.APPLE }; gray: { raw: (from: number) => conversions.GRAY }; };
variable apple
const apple: typeof conversions.apple & route.apple & { rgb: { raw: (from: conversions.APPLE) => conversions.RGB }; hsl: { raw: (from: conversions.APPLE) => conversions.HSL }; hsv: { raw: (from: conversions.APPLE) => conversions.HSV }; hwb: { raw: (from: conversions.APPLE) => conversions.HWB }; cmyk: { raw: (from: conversions.APPLE) => conversions.CMYK }; xyz: { raw: (from: conversions.APPLE) => conversions.XYZ }; lab: { raw: (from: conversions.APPLE) => conversions.LAB }; lch: { raw: (from: conversions.APPLE) => conversions.LCH }; hex: { raw: (from: conversions.APPLE) => string }; keyword: { raw: (from: conversions.APPLE) => string | number | symbol }; ansi16: { raw: (from: conversions.APPLE) => number }; ansi256: { raw: (from: conversions.APPLE) => number }; hcg: { raw: (from: conversions.APPLE) => conversions.HCG }; gray: { raw: (from: conversions.APPLE) => conversions.GRAY }; };
variable cmyk
const cmyk: typeof conversions.cmyk & route.cmyk & { rgb: { raw: (from: conversions.CMYK) => conversions.RGB }; hsl: { raw: (from: conversions.CMYK) => conversions.HSL }; hsv: { raw: (from: conversions.CMYK) => conversions.HSV }; hwb: { raw: (from: conversions.CMYK) => conversions.HWB }; xyz: { raw: (from: conversions.CMYK) => conversions.XYZ }; lab: { raw: (from: conversions.CMYK) => conversions.LAB }; lch: { raw: (from: conversions.CMYK) => conversions.LCH }; hex: { raw: (from: conversions.CMYK) => string }; keyword: { raw: (from: conversions.CMYK) => string | number | symbol }; ansi16: { raw: (from: conversions.CMYK) => number }; ansi256: { raw: (from: conversions.CMYK) => number }; hcg: { raw: (from: conversions.CMYK) => conversions.HCG }; apple: { raw: (from: conversions.CMYK) => conversions.APPLE }; gray: { raw: (from: conversions.CMYK) => conversions.GRAY }; };
variable gray
const gray: typeof conversions.gray & route.gray & { rgb: { raw: (from: conversions.GRAY) => conversions.RGB }; hsl: { raw: (from: conversions.GRAY) => conversions.HSL }; hsv: { raw: (from: conversions.GRAY) => conversions.HSV }; hwb: { raw: (from: conversions.GRAY) => conversions.HWB }; cmyk: { raw: (from: conversions.GRAY) => conversions.CMYK }; xyz: { raw: (from: conversions.GRAY) => conversions.XYZ }; lab: { raw: (from: conversions.GRAY) => conversions.LAB }; lch: { raw: (from: conversions.GRAY) => conversions.LCH }; hex: { raw: (from: conversions.GRAY) => string }; keyword: { raw: (from: conversions.GRAY) => string | number | symbol }; ansi16: { raw: (from: conversions.GRAY) => number }; ansi256: { raw: (from: conversions.GRAY) => number }; hcg: { raw: (from: conversions.GRAY) => conversions.HCG }; apple: { raw: (from: conversions.GRAY) => conversions.APPLE }; };
variable hcg
const hcg: typeof conversions.hcg & route.hcg & { rgb: { raw: (from: conversions.HCG) => conversions.RGB }; hsl: { raw: (from: conversions.HCG) => conversions.HSL }; hsv: { raw: (from: conversions.HCG) => conversions.HSV }; hwb: { raw: (from: conversions.HCG) => conversions.HWB }; cmyk: { raw: (from: conversions.HCG) => conversions.CMYK }; xyz: { raw: (from: conversions.HCG) => conversions.XYZ }; lab: { raw: (from: conversions.HCG) => conversions.LAB }; lch: { raw: (from: conversions.HCG) => conversions.LCH }; hex: { raw: (from: conversions.HCG) => string }; keyword: { raw: (from: conversions.HCG) => string | number | symbol }; ansi16: { raw: (from: conversions.HCG) => number }; ansi256: { raw: (from: conversions.HCG) => number }; apple: { raw: (from: conversions.HCG) => conversions.APPLE }; gray: { raw: (from: conversions.HCG) => conversions.GRAY }; };
variable hex
const hex: typeof conversions.hex & route.hex & { rgb: { raw: (from: string) => conversions.RGB }; hsl: { raw: (from: string) => conversions.HSL }; hsv: { raw: (from: string) => conversions.HSV }; hwb: { raw: (from: string) => conversions.HWB }; cmyk: { raw: (from: string) => conversions.CMYK }; xyz: { raw: (from: string) => conversions.XYZ }; lab: { raw: (from: string) => conversions.LAB }; lch: { raw: (from: string) => conversions.LCH }; keyword: { raw: (from: string) => string | number | symbol }; ansi16: { raw: (from: string) => number }; ansi256: { raw: (from: string) => number }; hcg: { raw: (from: string) => conversions.HCG }; apple: { raw: (from: string) => conversions.APPLE }; gray: { raw: (from: string) => conversions.GRAY }; };
variable hsl
const hsl: typeof conversions.hsl & route.hsl & { rgb: { raw: (from: conversions.HSL) => conversions.RGB }; hsv: { raw: (from: conversions.HSL) => conversions.HSV }; hwb: { raw: (from: conversions.HSL) => conversions.HWB }; cmyk: { raw: (from: conversions.HSL) => conversions.CMYK }; xyz: { raw: (from: conversions.HSL) => conversions.XYZ }; lab: { raw: (from: conversions.HSL) => conversions.LAB }; lch: { raw: (from: conversions.HSL) => conversions.LCH }; hex: { raw: (from: conversions.HSL) => string }; keyword: { raw: (from: conversions.HSL) => string | number | symbol }; ansi16: { raw: (from: conversions.HSL) => number }; ansi256: { raw: (from: conversions.HSL) => number }; hcg: { raw: (from: conversions.HSL) => conversions.HCG }; apple: { raw: (from: conversions.HSL) => conversions.APPLE }; gray: { raw: (from: conversions.HSL) => conversions.GRAY }; };
variable hsv
const hsv: typeof conversions.hsv & route.hsv & { rgb: { raw: (from: conversions.HSV) => conversions.RGB }; hsl: { raw: (from: conversions.HSV) => conversions.HSL }; hwb: { raw: (from: conversions.HSV) => conversions.HWB }; cmyk: { raw: (from: conversions.HSV) => conversions.CMYK }; xyz: { raw: (from: conversions.HSV) => conversions.XYZ }; lab: { raw: (from: conversions.HSV) => conversions.LAB }; lch: { raw: (from: conversions.HSV) => conversions.LCH }; hex: { raw: (from: conversions.HSV) => string }; keyword: { raw: (from: conversions.HSV) => string | number | symbol }; ansi16: { raw: (from: conversions.HSV) => number }; ansi256: { raw: (from: conversions.HSV) => number }; hcg: { raw: (from: conversions.HSV) => conversions.HCG }; apple: { raw: (from: conversions.HSV) => conversions.APPLE }; gray: { raw: (from: conversions.HSV) => conversions.GRAY }; };
variable hwb
const hwb: typeof conversions.hwb & route.hwb & { rgb: { raw: (from: conversions.HWB) => conversions.RGB }; hsl: { raw: (from: conversions.HWB) => conversions.HSL }; hsv: { raw: (from: conversions.HWB) => conversions.HSV }; cmyk: { raw: (from: conversions.HWB) => conversions.CMYK }; xyz: { raw: (from: conversions.HWB) => conversions.XYZ }; lab: { raw: (from: conversions.HWB) => conversions.LAB }; lch: { raw: (from: conversions.HWB) => conversions.LCH }; hex: { raw: (from: conversions.HWB) => string }; keyword: { raw: (from: conversions.HWB) => string | number | symbol }; ansi16: { raw: (from: conversions.HWB) => number }; ansi256: { raw: (from: conversions.HWB) => number }; hcg: { raw: (from: conversions.HWB) => conversions.HCG }; apple: { raw: (from: conversions.HWB) => conversions.APPLE }; gray: { raw: (from: conversions.HWB) => conversions.GRAY }; };
variable keyword
const keyword: typeof conversions.keyword & route.keyword & { rgb: { raw: (from: string | number | symbol) => conversions.RGB }; hsl: { raw: (from: string | number | symbol) => conversions.HSL }; hsv: { raw: (from: string | number | symbol) => conversions.HSV }; hwb: { raw: (from: string | number | symbol) => conversions.HWB }; cmyk: { raw: (from: string | number | symbol) => conversions.CMYK }; xyz: { raw: (from: string | number | symbol) => conversions.XYZ }; lab: { raw: (from: string | number | symbol) => conversions.LAB }; lch: { raw: (from: string | number | symbol) => conversions.LCH }; hex: { raw: (from: string | number | symbol) => string }; ansi16: { raw: (from: string | number | symbol) => number }; ansi256: { raw: (from: string | number | symbol) => number }; hcg: { raw: (from: string | number | symbol) => conversions.HCG }; apple: { raw: (from: string | number | symbol) => conversions.APPLE }; gray: { raw: (from: string | number | symbol) => conversions.GRAY }; };
variable lab
const lab: typeof conversions.lab & route.lab & { rgb: { raw: (from: conversions.LAB) => conversions.RGB }; hsl: { raw: (from: conversions.LAB) => conversions.HSL }; hsv: { raw: (from: conversions.LAB) => conversions.HSV }; hwb: { raw: (from: conversions.LAB) => conversions.HWB }; cmyk: { raw: (from: conversions.LAB) => conversions.CMYK }; xyz: { raw: (from: conversions.LAB) => conversions.XYZ }; lch: { raw: (from: conversions.LAB) => conversions.LCH }; hex: { raw: (from: conversions.LAB) => string }; keyword: { raw: (from: conversions.LAB) => string | number | symbol }; ansi16: { raw: (from: conversions.LAB) => number }; ansi256: { raw: (from: conversions.LAB) => number }; hcg: { raw: (from: conversions.LAB) => conversions.HCG }; apple: { raw: (from: conversions.LAB) => conversions.APPLE }; gray: { raw: (from: conversions.LAB) => conversions.GRAY }; };
variable lch
const lch: typeof conversions.lch & route.lch & { rgb: { raw: (from: conversions.LCH) => conversions.RGB }; hsl: { raw: (from: conversions.LCH) => conversions.HSL }; hsv: { raw: (from: conversions.LCH) => conversions.HSV }; hwb: { raw: (from: conversions.LCH) => conversions.HWB }; cmyk: { raw: (from: conversions.LCH) => conversions.CMYK }; xyz: { raw: (from: conversions.LCH) => conversions.XYZ }; lab: { raw: (from: conversions.LCH) => conversions.LAB }; hex: { raw: (from: conversions.LCH) => string }; keyword: { raw: (from: conversions.LCH) => string | number | symbol }; ansi16: { raw: (from: conversions.LCH) => number }; ansi256: { raw: (from: conversions.LCH) => number }; hcg: { raw: (from: conversions.LCH) => conversions.HCG }; apple: { raw: (from: conversions.LCH) => conversions.APPLE }; gray: { raw: (from: conversions.LCH) => conversions.GRAY }; };
variable rgb
const rgb: typeof conversions.rgb & route.rgb & { hsl: { raw: { (from: conversions.RGB): conversions.HSL; (from_0: number, from_1: number, from_2: number): conversions.HSL; (from: conversions.RGB): conversions.HSL; (from_0: number, from_1: number, from_2: number): conversions.HSL; }; }; hsv: { raw: { (from: conversions.RGB): conversions.HSV; (from_0: number, from_1: number, from_2: number): conversions.HSV; }; }; hwb: { raw: { (from: conversions.RGB): conversions.HWB; (from_0: number, from_1: number, from_2: number): conversions.HWB; }; }; cmyk: { raw: { (from: conversions.RGB): conversions.CMYK; (from_0: number, from_1: number, from_2: number): conversions.CMYK; }; }; xyz: { raw: { (from: conversions.RGB): conversions.XYZ; (from_0: number, from_1: number, from_2: number): conversions.XYZ; }; }; lab: { raw: { (from: conversions.RGB): conversions.LAB; (from_0: number, from_1: number, from_2: number): conversions.LAB; }; }; lch: { raw: { (from: conversions.RGB): conversions.LCH; (from_0: number, from_1: number, from_2: number): conversions.LCH; }; }; hex: { raw: { (from: conversions.RGB): string; (from_0: number, from_1: number, from_2: number): string; }; }; keyword: { raw: { (from: conversions.RGB): string | number | symbol; (from_0: number, from_1: number, from_2: number): | string | number | symbol; }; }; ansi16: { raw: { (from: conversions.RGB): number; (from_0: number, from_1: number, from_2: number): number; }; }; ansi256: { raw: { (from: conversions.RGB): number; (from_0: number, from_1: number, from_2: number): number; }; }; hcg: { raw: { (from: conversions.RGB): conversions.HCG; (from_0: number, from_1: number, from_2: number): conversions.HCG; }; }; apple: { raw: { (from: conversions.RGB): conversions.APPLE; (from_0: number, from_1: number, from_2: number): conversions.APPLE; }; }; gray: { raw: { (from: conversions.RGB): conversions.GRAY; (from_0: number, from_1: number, from_2: number): conversions.GRAY; }; }; };
variable xyz
const xyz: typeof conversions.xyz & route.xyz & { rgb: { raw: (from: conversions.XYZ) => conversions.RGB }; hsl: { raw: (from: conversions.XYZ) => conversions.HSL }; hsv: { raw: (from: conversions.XYZ) => conversions.HSV }; hwb: { raw: (from: conversions.XYZ) => conversions.HWB }; cmyk: { raw: (from: conversions.XYZ) => conversions.CMYK }; lab: { raw: (from: conversions.XYZ) => conversions.LAB }; lch: { raw: (from: conversions.XYZ) => conversions.LCH }; hex: { raw: (from: conversions.XYZ) => string }; keyword: { raw: (from: conversions.XYZ) => string | number | symbol }; ansi16: { raw: (from: conversions.XYZ) => number }; ansi256: { raw: (from: conversions.XYZ) => number }; hcg: { raw: (from: conversions.XYZ) => conversions.HCG }; apple: { raw: (from: conversions.XYZ) => conversions.APPLE }; gray: { raw: (from: conversions.XYZ) => conversions.GRAY }; };
Package Files (1)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/color-convert
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/color-convert)
- HTML<a href="https://www.jsdocs.io/package/@types/color-convert"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4337 ms. - Missing or incorrect documentation? Open an issue for this package.