import i from "../utils/index.js";
import c from "../color/index.js";
const e = (n, r) => {
  const t = c.parse(n);
  for (const o in r)
    t[o] = i.channel.clamp[o](r[o]);
  return c.stringify(t);
};
export {
  e as default
};
