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