import "../io/lch/index.js";
import r from "../Color.js";
import n from "../io/lab/lab-constants.js";
r.prototype.saturate = function(o = 1) {
  const a = this, t = a.lch();
  return t[1] += n.Kn * o, t[1] < 0 && (t[1] = 0), new r(t, "lch").alpha(a.alpha(), !0);
};
r.prototype.desaturate = function(o = 1) {
  return this.saturate(-o);
};
//# sourceMappingURL=saturate.js.map
