"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const index = require("./dist-color-index.cjs");
const mix = require("./dist-methods-mix.cjs");
const invert = (color, weight = 100) => {
  const inverse = index.default.parse(color);
  inverse.r = 255 - inverse.r;
  inverse.g = 255 - inverse.g;
  inverse.b = 255 - inverse.b;
  return mix.default(inverse, color, weight);
};
exports.default = invert;
//# sourceMappingURL=dist-methods-invert.cjs.map
