Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
type alias FloatColor
import { type FloatColor } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";

A floating point representation of color types that are usually stored as RGBA. These are used when there are any none components, which are represented as NaN.

definition: { alpha: number; b: number; g: number; r: number; type: "rgb"; } | { alpha: number; h: number; l: number; s: number; type: "hsl"; } | { alpha: number; b: number; h: number; type: "hwb"; w: number; }