import{alpha as r}from"../numbers/index.js";import{percent as s}from"../numbers/units.js";import{sanitize as t}from"../utils.js";import{isColorString as o,splitColor as n}from"./utils.js";var a={test:o("hsl","hue"),parse:n("hue","saturation","lightness"),transform:function(o){var n=o.hue,a=o.saturation,i=o.lightness,m=o.alpha,u=void 0===m?1:m;return"hsla("+Math.round(n)+", "+s.transform(t(a))+", "+s.transform(t(i))+", "+t(r.transform(u))+")"}};export{a as hsla};
//# sourceMappingURL=hsla.js.map
