@pbroom/color-kit/driverColor area
ColorAreaContrastRegionPoint
A contrast-region path point in OKLCH l/c plus its normalized area position (x right, y down, both [0, 1]).
import type { ColorAreaContrastRegionPoint } from '@pbroom/color-kit/driver';color-area.ts:168interface ColorAreaContrastRegionPoint {
l: number;
c: number;
x: number;
y: number;
}Properties
- l
number - OKLCH lightness, 0..1.
- c
number - OKLCH chroma.
- x
number - Normalized x position, 0 = left edge.
- y
number - Normalized y position, 0 = top edge.
Also exported from
@pbroom/color-kit/reactthe same declaration, re-exported