import t from "../Color.js";
import e from "../utils/type.js";
t.prototype.alpha = function(r, i = !1) {
  return r !== void 0 && e(r) === "number" ? i ? (this._rgb[3] = r, this) : new t([this._rgb[0], this._rgb[1], this._rgb[2], r], "rgb") : this._rgb[3];
};
//# sourceMappingURL=alpha.js.map
