# rgb-to-hsl

> Convert RGB to HSL

Latest version **0.0.3** (published 2016-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install rgb-to-hsl
pnpm add rgb-to-hsl
yarn add rgb-to-hsl
bun add rgb-to-hsl
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-08-25 |
| First published | 2016-03-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Juha Tauriainen |
| Maintainers | juhq |

## Links

- npm: https://www.npmjs.com/package/rgb-to-hsl
- Repository: https://github.com/JuhQ/rgb-to-hsl
- Issues: https://github.com/JuhQ/rgb-to-hsl/issues
- npm.io page: https://npm.io/package/rgb-to-hsl

## Recent versions

- 0.0.3 (latest) — 2016-08-25
- 0.0.2 — 2016-03-25
- 0.0.1 — 2016-03-25

## README

### rgb-to-hsl

```
var rgbToHsl = require('rgb-to-hsl');
rgbToHsl(255, 192, 203);
```


Result:
```
[350, 100%, 88%]
```


Based on the thread [http://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion](http://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion)

---
_Source: https://npm.io/package/rgb-to-hsl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
