import Utils from "./dist-utils-index.js";
import Color from "./dist-color-index.js";
const adjustChannel = (color, channel, amount) => {
  const channels = Color.parse(color);
  const amountCurrent = channels[channel];
  const amountNext = Utils.channel.clamp[channel](amountCurrent + amount);
  if (amountCurrent !== amountNext)
    channels[channel] = amountNext;
  return Color.stringify(channels);
};
export {
  adjustChannel as default
};
//# sourceMappingURL=dist-methods-adjust_channel.js.map
