Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/colors/mod.ts>ColorData

Color conversion and stuff in TypeScript
Go to Latest
type alias ColorData
import { type ColorData } from "https://deno.land/x/colors@v2.0.0-rc.1/mod.ts";
definition: { rgba:
[
number,
number,
number,
number,
]
; hcg: [number, number, number]; hsl: [number, number, number]; hsv: [number, number, number]; cmyk:
[
number,
number,
number,
number,
]
; hex: string; xyz: [number, number, number]; lab: [number, number, number]; }