@pbroom/color-kit/planeTypes

PlaneContrastRegionResult

Result of getPlaneContrastRegion.

interfaceimport type { PlaneContrastRegionResult } from '@pbroom/color-kit/plane';types.ts:495
interface PlaneContrastRegionResult {
  kind: 'contrastRegion';
  hue: number;
  paths: PlaneRegionPoint[][];
}

Properties

kind'contrastRegion'
huenumber
OKLCH hue the region was traced at, in degrees.
pathsPlaneRegionPoint[][]
Contour lines bounding the passing area (typically one per side of the reference), longest first; empty on planes that are not OKLCH lightness × chroma or when no color passes.

Also exported from