# @tomas.tomecek/hsl-to-hex

> Convert HSL colors to RGB colors in hex format.

Latest version **1.0.0** (published 2021-07-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install @tomas.tomecek/hsl-to-hex
pnpm add @tomas.tomecek/hsl-to-hex
yarn add @tomas.tomecek/hsl-to-hex
bun add @tomas.tomecek/hsl-to-hex
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-07-04 |
| First published | 2021-07-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tomas Tomecek |
| Maintainers | tomas.tomecek |

## Links

- npm: https://www.npmjs.com/package/@tomas.tomecek/hsl-to-hex
- npm.io page: https://npm.io/package/@tomas.tomecek/hsl-to-hex

## Dependencies (1)

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

## Recent versions

- 1.0.0 (latest) — 2021-07-04

## README

# hsl-to-hex

Convert HSL colors to RGB colors in hex format.

## Install 

```sh
npm install --save @tomas.tomecek/hsl-to-hex
```
 
## API

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

## Example

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

## License

ISC

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