@pbroom/color-kit/driverColor area

ColorAreaGamutBoundaryPoint

A boundary or band point in OKLCH l/c plus its normalized area position (x right, y down, both [0, 1]).

interfaceimport type { ColorAreaGamutBoundaryPoint } from '@pbroom/color-kit/driver';color-area.ts:120
interface ColorAreaGamutBoundaryPoint {
  l: number;
  c: number;
  x: number;
  y: number;
}

Properties

lnumber
OKLCH lightness, 0..1.
cnumber
OKLCH chroma.
xnumber
Normalized x position, 0 = left edge.
ynumber
Normalized y position, 0 = top edge.

Also exported from