UNPKG

@alchemyalcove/rgb-to-hsl

Version:
27 lines (15 loc) 719 B
# 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](https://circleci.com/gh/AlchemyAlcove/RGBtoHSL.svg?style=svg&circle-token=e745f8d9592bb88a9220a1257ef6687a47d84cc0)](https://circleci.com/gh/AlchemyAlcove/RGBtoHSL) Converts RGB arrays into HSL arrays. 387 bytes download size minified. ## Install npm install --save @alchemy-alcove/rgb-to-hsl ## Use ```javascript import Convert from "@alchemyalcove/rgb-to-hsl"; Convert([255, 255, 255]); ```