import { rnd2 as l, rnd3 as o } from "../../utils/index.js";
import r from "../../utils/unpack.js";
const s = (...t) => {
  const n = r(t, "lab");
  return n[0] = l(n[0] * 100) + "%", n[1] = o(n[1]), n[2] = o(n[2]), n.length > 3 && n[3] < 1 ? n[3] = "/ " + (n.length > 3 ? n[3] : 1) : n.length = 3, `oklab(${n.join(" ")})`;
};
export {
  s as default
};
//# sourceMappingURL=oklab2css.js.map
