"use strict";function e(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.hslaToRgba=function(t){let{hue:r,saturation:n,lightness:u,alpha:a}=t;r/=360,n/=100,u/=100;let o=0,s=0,l=0;if(n){const t=u<.5?u*(1+n):u+n-u*n,a=2*u-t;o=e(a,t,r+1/3),s=e(a,t,r),l=e(a,t,r-1/3)}else o=s=l=u;return{red:Math.round(255*o),green:Math.round(255*s),blue:Math.round(255*l),alpha:a}};
//# sourceMappingURL=hsla-to-rgba.mjs.js.map
