@pbroom/color-kit/driverMulti color

MultiColorEntryModel

Stored data of one multi-color entry.

interfaceimport type { MultiColorEntryModel } from '@pbroom/color-kit/driver';multi-color-state.ts:61
interface MultiColorEntryModel {
  requested: Color;
  source: ColorSource;
  gamutMapMethod?: GamutMapMethod;
}

Properties

requestedColor
Requested OKLCH color, possibly out of gamut.
sourceColorSource
Source of the entry's last change.
gamutMapMethod?GamutMapMethoddefault 'chroma-reduction'
Gamut mapping for this entry's displayed colors, kept across updates.