Modern methods of computational photography make it possible to bring the quality of images obtained by mobile cameras closer to the quality of professional cameras. One of the most important tasks is that of ensuring the consistency of colors from different cameras. In this paper, we propose a simple and efficient way to bring the colors of one camera to another, based on the approximation of the required transformation by a tone correction spline and a color transformation matrix. An experimental study was carried out in a rather complicated case, in which it was required to match colors of the images obtained from two fundamentally different sensors, as well as using diffractive optics. The results of the experiments showed that the proposed method allows one to obtain a higher accuracy of color matching between cameras than existing analogues.