UNPKG

442 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.hsl2rgb = void 0;
4var hsl2hsv_1 = require("./hsl2hsv");
5var hsv2rgb_1 = require("./hsv2rgb");
6/** Converts HSL components to an RGB color. Does not set the alpha value. */
7function hsl2rgb(h, s, l) {
8 var hsv = hsl2hsv_1.hsl2hsv(h, s, l);
9 return hsv2rgb_1.hsv2rgb(hsv.h, hsv.s, hsv.v);
10}
11exports.hsl2rgb = hsl2rgb;
12//# sourceMappingURL=hsl2rgb.js.map
\No newline at end of file