getMatrix

fun getMatrix(targetMatrix: Matrix3, sourceColorSpace: ColorSpace, targetColorSpace: ColorSpace): Matrix3

Copies spaces[sourceColorSpace].toXYZ into targetMatrix and multiplies it by spaces[targetColorSpace].fromXYZ, producing the source->target RGB transform.

Return

The targetMatrix.