# hsl-to-hex

> Convert HSL colors to RGB colors in hex format.

Latest version **1.0.0** (published 2016-04-09) · MIT license · 0 weekly downloads

## Install

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

## 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.0.0 |
| Published | 2016-04-09 |
| First published | 2016-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/hsl-to-hex) |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | David Mark Clements |
| Maintainers | davidmarkclements |

## Links

- npm: https://www.npmjs.com/package/hsl-to-hex
- Repository: https://github.com/davidmarkclements/hsl-to-hex
- Homepage: https://github.com/davidmarkclements/hsl-to-hex#readme
- Issues: https://github.com/davidmarkclements/hsl-to-hex/issues
- npm.io page: https://npm.io/package/hsl-to-hex

## Dependencies (1)

- [hsl-to-rgb-for-reals](https://npm.io/package/hsl-to-rgb-for-reals.md) ^1.1.0

## Recent versions

- 1.0.0 (latest) — 2016-04-09

## README

# hsl-to-hex

Convert HSL colors to RGB colors in hex format.

## API

```
require('hsl-to-hex') => Function
hsl(hue, saturation, luminosity)` => String
```

## Example

```js
var hsl = require('hsl-to-hex')
var hue = 133 hsl(133, 40, 60)
var saturation = 40
var luminosity = 60
var hex = hsl(hue, saturation, luminosity)
console.log(hex) // #70c282
```

## License

ISC

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