import l from "./limit.js";
const t = (e) => {
  e._clipped = !1, e._unclipped = e.slice(0);
  for (let i = 0; i <= 3; i++)
    i < 3 ? ((e[i] < 0 || e[i] > 255) && (e._clipped = !0), e[i] = l(e[i], 0, 255)) : i === 3 && (e[i] = l(e[i], 0, 1));
  return e;
};
export {
  t as default
};
//# sourceMappingURL=clip_rgb.js.map
