"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../numbers/index.mjs.js"),e=require("../numbers/units.mjs.js"),r=require("../utils/sanitize.mjs.js"),t=require("./utils.mjs.js");const i={test:t.isColorString("hsl","hue"),parse:t.splitColor("hue","saturation","lightness"),transform:t=>{let{hue:i,saturation:n,lightness:a,alpha:u=1}=t;return"hsla("+Math.round(i)+", "+e.percent.transform(r.sanitize(n))+", "+e.percent.transform(r.sanitize(a))+", "+r.sanitize(s.alpha.transform(u))+")"}};exports.hsla=i;
//# sourceMappingURL=hsla.mjs.js.map
