UNPKG

naive-upload

Version:

<p align="left"> <a href="https://www.npmjs.org/package/naive-upload"> <img src="https://img.shields.io/npm/v/naive-upload.svg"> </a> <a href="https://bundlephobia.com/package/naive-upload@latest"> <img src="https://img.shields.io/bundl

21 lines (20 loc) 597 B
var c = Object.defineProperty; var e = (r, t, s) => t in r ? c(r, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : r[t] = s; var i = (r, t, s) => (e(r, typeof t != "symbol" ? t + "" : t, s), s); class h { constructor(t, s, a, o) { i(this, "r"); i(this, "g"); i(this, "b"); i(this, "a"); i(this, "toString", () => `rgba(${this.r}, ${this.g}, ${this.b}, ${this.a})`); this.r = t, this.g = s, this.b = a, this.a = o; } static convertFrom(t) { return new h(t.r, t.g, t.b, t.a); } } export { h as default }; //# sourceMappingURL=RGBAColor.js.map