import { powN3 } from "@thi.ng/vectors/pown" ; import type { ColorOp } from "../api.js" ; import { OKLAB_M2 } from "../api/constants.js" ; import { __mulV33 } from "../internal/matrix-ops.js" ; const CONE_LMS = [ 0.412165612 , 0.211859107 , 0.0883097947 , 0.536275208 , 0.6807189584 , 0.2818474174 , 0.0514575653 , 0.107406579 , 0.6302613616 , ] ; remarks param out param src export const rgbOklab = ( out , src ) => __mulV33 ( null , OKLAB_M2 , powN3 ( null , __mulV33 ( out , CONE_LMS , src ) , 1 / 3 ) ) ;