import { rnd2 as o, rnd3 as t } from "../../utils/index.js";
import l from "../../utils/unpack.js";
const h = (...e) => {
  const n = l(e, "lch");
  return n[0] = o(n[0] * 100) + "%", n[1] = t(n[1]), n[2] = isNaN(n[2]) ? "none" : o(n[2]) + "deg", n.length > 3 && n[3] < 1 ? n[3] = "/ " + (n.length > 3 ? n[3] : 1) : n.length = 3, `oklch(${n.join(" ")})`;
};
export {
  h as default
};
//# sourceMappingURL=oklch2css.js.map
