@pbroom/color-kitContrast

ContrastRegionPoint

A point on a contrast-region contour, in OKLCH lightness/chroma.

interfaceimport type { ContrastRegionPoint } from '@pbroom/color-kit';types.ts:39
interface ContrastRegionPoint {
  l: number;
  c: number;
}

Properties

lnumber
OKLCH lightness, 0-1.
cnumber
OKLCH chroma, 0 to the region's maxChroma.