import "../../utils/type.js";
import a from "../../utils/unpack.js";
import f from "../lch/lch2lab.js";
import i from "../oklab/oklab2rgb.js";
const d = (...o) => {
  o = a(o, "lch");
  const [r, c, l, ...t] = o, [m, n, b] = f(r, c, l), [p, e, h] = i(m, n, b);
  return [p, e, h, ...t.length > 0 && t[0] < 1 ? [t[0]] : []];
};
export {
  d as default
};
//# sourceMappingURL=oklch2rgb.js.map
