Use Matrix objects when converting from RGB -> XYZ.