hsl.js
HSL to RGB converter
Usage
const { HSLToRGB, RGBToHSL } = require("@nightmarez/hsl");
let hsl = RGBToHSL(127, 0, 0); // or RGBToHSL([127, 0, 0])
let rgb = HSLToRGB(hsl);
HSL to RGB converter
const { HSLToRGB, RGBToHSL } = require("@nightmarez/hsl");
let hsl = RGBToHSL(127, 0, 0); // or RGBToHSL([127, 0, 0])
let rgb = HSLToRGB(hsl);
npm i @nightmarez/hsl
0
1.0.4
MIT
5.93 kB
5