# hsl-to-rgb-for-reals

> simple HSL to RGB converter

Latest version **1.1.1** (published 2019-09-24) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2019-09-24 |
| First published | 2016-02-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | separate (@types/hsl-to-rgb-for-reals) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 27.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | davidmarkclements |
| Keywords | hsl, rgb, color, converter, convert, hue, saturation, light |

## Links

- npm: https://www.npmjs.com/package/hsl-to-rgb-for-reals
- Repository: https://github.com/davidmarkclements/hsl_rgb_converter
- Homepage: https://github.com/davidmarkclements/hsl_rgb_converter/
- Issues: https://github.com/kayellpeee/hsl_rgb_converter/issues
- npm.io page: https://npm.io/package/hsl-to-rgb-for-reals

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 1.1.1 (latest) — 2019-09-24
- 1.1.0 — 2016-02-26
- 1.0.0 — 2016-02-26

## README

# hsl-to-rgb-for-reals

##HSL -> RGB
Convert HSL values (hue, saturation, light) to RGB values (red, green, blue). 
Expected values:
Hue: [0, 360[
Saturation: [0, 1]
Lightness: [0, 1]

## For Reals?
Author forgot to export their function in the hsl-to-rgb module,
there's a PR that's been sitting for over a year (at time of writing).
Let's use `hsl-to-rgb-for-reals` until original author merges. Huzzah!

Funny story - I forgot to module export in v1.0.0 too! Don't use 1.0.0.

Getting started:

```sh
npm install hsl-to-rgb-for-reals --save
```

Use:

```js
var converter = require('hsl-to-rgb-for-reals');

var slateBlue = converter(223, 0.44, 0.56);

console.log(slateBlue);
// logs [93, 121, 192]
```


## Problems

Bug the original author :D 
<https://github.com/kayellpeee/hsl_rgb_converter/issues>

## Acknowledgements

* kayellpeee
* sponsored by [nearForm](http://nearform.com)

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