adaptTo

Apply chromatic adaptation to adapt this color to the white point in the given space.

The Von Kries method is used with the CIECAT02 transformation matrix.


fun adaptTo(space: XYZColorSpace, transformationMatrix: FloatArray): XYZ

Apply chromatic adaptation to adapt this color to the white point in the given space.

The Von Kries method is used with the given transformationMatrix.


fun adaptTo(space: XYZColorSpace, transformationMatrix: FloatArray, inverseTransformationMatrix: FloatArray): XYZ

Apply chromatic adaptation to adapt this color to the white point in the given space.

The Von Kries method is used with the given transformationMatrix and its inverseTransformationMatrix.