import m from "../utils/index.js";
import s from "../color/index.js";
const c = (a, t, e) => {
  const o = s.parse(a), r = o[t], n = m.channel.clamp[t](r + e);
  return r !== n && (o[t] = n), s.stringify(o);
};
export {
  c as default
};
