@pbroom/color-kit/driverColor state
MapDisplayedColorsOptions
Options for mapDisplayedColors and the requested-color setters.
import type { MapDisplayedColorsOptions } from '@pbroom/color-kit/driver';color-state.ts:128interface MapDisplayedColorsOptions {
gamutMapMethod?: GamutMapMethod;
}Properties
- gamutMapMethod?
GamutMapMethoddefault'chroma-reduction' - Gamut mapping passed to
toSrgbGamut/toP3Gamut. The setters default to the state's currentmeta.gamutMapMethodinstead.