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