import "../io/lab/index.js";
import t from "../Color.js";
import n from "../io/lab/lab-constants.js";
t.prototype.darken = function(r = 1) {
  const o = this, e = o.lab();
  return e[0] -= n.Kn * r, new t(e, "lab").alpha(o.alpha(), !0);
};
t.prototype.brighten = function(r = 1) {
  return this.darken(-r);
};
t.prototype.darker = t.prototype.darken;
t.prototype.brighter = t.prototype.brighten;
//# sourceMappingURL=darken.js.map
