import { RAD2DEG as l } from "../../utils/index.js";
import s from "../../utils/unpack.js";
const { sqrt: e, atan2: m, round: u } = Math, p = (...n) => {
  const [c, t, a] = s(n, "lab"), o = e(t * t + a * a);
  let r = (m(a, t) * l + 360) % 360;
  return u(o * 1e4) === 0 && (r = Number.NaN), [c, o, r];
};
export {
  p as default
};
//# sourceMappingURL=lab2lch.js.map
