GamutMapMethod

GamutMapMethod: "clip" | "local-minde"

Methods by which colors in bounded spaces can be mapped to within their gamut.

  • local-minde: The algorithm specified in the original Color Level 4 candidate recommendation. This maps in the Oklch color space, using the deltaEOK color difference formula and the local-MINDE improvement.

  • clip: Clamp each color channel that's outside the gamut to the minimum or maximum value for that channel. This algorithm will produce poor visual results, but it may be useful to match the behavior of other situations in which a color can be clipped.