diff --git a/colorsynth/_colorsynth.py b/colorsynth/_colorsynth.py index 2666f69..ffea5ee 100644 --- a/colorsynth/_colorsynth.py +++ b/colorsynth/_colorsynth.py @@ -485,9 +485,9 @@ def sRGB( """ X, Y, Z = np.moveaxis(XYZ, axis, 0) - r = +3.2406 * X - 1.5372 * Y - 0.4986 * Z - g = -0.9689 * X + 1.8758 * Y + 0.0415 * Z - b = +0.0557 * X - 0.2040 * Y + 1.0570 * Z + r = +3.2404542 * X - 1.5371385 * Y - 0.4985314 * Z + g = -0.9692660 * X + 1.8760108 * Y + 0.0415560 * Z + b = +0.0556434 * X - 0.2040259 * Y + 1.0572252 * Z result = np.stack([r, g, b], axis=axis)