Skip to content

xyzTransform

xyzTransform(value, from, to, method?): XyzCoords

Defined in: packages/math-color/src/conversions/xyz-transform.ts:66

Adapts an XYZ color from one white point to another.

XyzCoords

The XYZ color to adapt.

XyzNormalized

The source white point.

XyzNormalized

The destination white point.

CatMethod = "Bradford"

The cone-response model to use (default: Bradford).

XyzCoords