@nightmarez/hsl

1.0.4 • Public • Published

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);

Package Sidebar

Install

npm i @nightmarez/hsl

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

5.93 kB

Total Files

5

Last publish

Collaborators

  • nightmarez