/*! third party licenses: js/vendor.LICENSE.txt */
import{t as e,r as f,a as m}from"./logreader-main.mjs";f(m);class t{constructor(n,r,s,c){this.r=n,this.g=r,this.b=s,this.name=c,this.r=Math.min(n,255),this.g=Math.min(r,255),this.b=Math.min(s,255),this.name=c}get color(){const n=r=>"00".concat(r.toString(16)).slice(-2);return"#".concat(n(this.r)).concat(n(this.g)).concat(n(this.b))}}function p(o,n,r){return{r:(r.r-n.r)/o,g:(r.g-n.g)/o,b:(r.b-n.b)/o}}function i(o,n,r){const s=[];s.push(n);const c=p(o,n,r);for(let a=1;a<o;a++){const w=Math.floor(n.r+c.r*a),g=Math.floor(n.g+c.g*a),b=Math.floor(n.b+c.b*a);s.push(new t(w,g,b))}return s}const h=new t(182,70,157,e("Purple")),l=new t(221,203,85,e("Gold")),u=new t(0,130,201,e("Nextcloud blue")),d=new t(0,0,0,e("Black")),B=new t(255,255,255,e("White")),k=[h,new t(191,103,139,e("Rosy brown")),new t(201,136,121,e("Feldspar")),new t(211,169,103,e("Whiskey")),l,new t(165,184,114,e("Olivine")),new t(110,166,143,e("Acapulco")),new t(55,148,172,e("Boston Blue")),u,new t(45,115,190,e("Mariner")),new t(91,100,179,e("Blue Violet")),new t(136,85,168,e("Deluge"))];function v(o){const n=i(o,h,l),r=i(o,l,u),s=i(o,u,h);return n.concat(r).concat(s)}export{d as C,B as a,k as d,v as g};
//# sourceMappingURL=colors-BMiIMYXK-Dwr2Mei3.chunk.mjs.map
