@pbroom/color-kit/driverColor area

ColorAreaFallbackPoint

Result of getColorAreaFallbackPoint.

interfaceimport type { ColorAreaFallbackPoint } from '@pbroom/color-kit/driver';color-area.ts:180
interface ColorAreaFallbackPoint {
  x: number;
  y: number;
  color: Color;
  gamut: GamutTarget;
}

Properties

xnumber
Normalized x position of the mapped color, 0 = left edge.
ynumber
Normalized y position of the mapped color, 0 = top edge.
colorColor
The color after gamut mapping into gamut.
gamutGamutTarget
Gamut the color was mapped into.

Also exported from