import type { ColorOp } from "../api.js" ; import { rgbXyz , rgbXyzD65 } from "./rgb-xyz.js" ; import { xyzLab , xyzLabD65 } from "../xyz/xyz-lab.js" ; /**
 * Converts linear RGB to Lab (via XYZ) using  D50 white point.
 *
 *  remarks param out param src export const rgbLab = ( out , src ) => xyzLab ( null , rgbXyz ( out , src ) ) ; /**
 * Same as  rgbLab , but using  D65 white point.
 *
 *  param out param src export const rgbLabD65 = ( out , src ) => xyzLabD65 ( null , rgbXyzD65 ( out , src ) ) ;