www.gusucode.com > images 案例代码 matlab源码程序 > images/ConvertXYZColorToSRGBSpecifyingWhitepointExample.m

    %% Convert XYZ color to sRGB Specifying Whitepoint
%
%%
% Convert an XYZ color value to sRGB specifying the D50 whitepoint.
xyz2rgb([0.25 0.40 0.10],'WhitePoint','d50')