import { alpha as n } from "../numbers/index.es.js";
import { percent as t } from "../numbers/units.es.js";
import { sanitize as r } from "../utils/sanitize.es.js";
import { isColorString as i, splitColor as e } from "./utils.es.js";
const u = {
  test: /* @__PURE__ */ i("hsl", "hue"),
  parse: /* @__PURE__ */ e("hue", "saturation", "lightness"),
  transform: ({ hue: o, saturation: s, lightness: a, alpha: m = 1 }) => "hsla(" + Math.round(o) + ", " + t.transform(r(s)) + ", " + t.transform(r(a)) + ", " + r(n.transform(m)) + ")"
};
export {
  u as hsla
};
//# sourceMappingURL=hsla.es.js.map
