"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const index$1 = require("./dist-utils-index.cjs");
const index = require("./dist-color-index.cjs");
const change = (color, channels) => {
  const ch = index.default.parse(color);
  for (const c in channels) {
    ch[c] = index$1.default.channel.clamp[c](channels[c]);
  }
  return index.default.stringify(ch);
};
exports.default = change;
//# sourceMappingURL=dist-methods-change.cjs.map
