import type { Color , ColorOp , ReadonlyColor } from "../api.js" ; import { XYZ_RGB_D50 , XYZ_RGB_D65 } from "../api/constants.js" ; import { __mulV33 } from "../internal/matrix-ops.js" ; /**
 * Converts CIE XYZ to RGB using provided transformation/whitepoint matrix
 * (default:  XYZ_RGB_D50 ).
 *
 *  https param out param src export const xyzRgb = ( out , src , mat = XYZ_RGB_D50 ) => __mulV33 ( out , mat , src ) ; /**
 * Same as  xyzRgb , but hard coded to use  D65 white point (via
 *  XYZ_RGB_D65 matrix).
 *
 *  param out param src export const xyzRgbD65 = ( out , src ) => xyzRgb ( out , src , XYZ_RGB_D65 ) ;