@alchemyalcove/rgb-to-hsl

Convert rgb to hsl

Usage no npm install needed!

<script type="module">
  import alchemyalcoveRgbToHsl from 'https://cdn.skypack.dev/@alchemyalcove/rgb-to-hsl';
</script>

README

AlchemyAlcove RGB to HSL

Simple HSL conversion.

Why this package vs the other options.

This package is super light weight. There are some great alternatives that have every conversion type in one library, but this is for those of us that only need the one.

It is also built with web support in mind.

CircleCI

Converts RGB arrays into HSL arrays.

387 bytes download size minified.

Install

npm install --save @alchemy-alcove/rgb-to-hsl

Use

import Convert from "@alchemyalcove/rgb-to-hsl";

Convert([255, 255, 255]);