@fluentui/react
Version:
Reusable React components for building web experiences.
12 lines • 452 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.hsl2rgb = void 0;
var hsl2hsv_1 = require("./hsl2hsv");
var hsv2rgb_1 = require("./hsv2rgb");
/** Converts HSL components to an RGB color. Does not set the alpha value. */
function hsl2rgb(h, s, l) {
var hsv = (0, hsl2hsv_1.hsl2hsv)(h, s, l);
return (0, hsv2rgb_1.hsv2rgb)(hsv.h, hsv.s, hsv.v);
}
exports.hsl2rgb = hsl2rgb;
//# sourceMappingURL=hsl2rgb.js.map