# random-lch-color

> Generate a random lch color.

Latest version **1.0.0** (published 2023-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install random-lch-color
pnpm add random-lch-color
yarn add random-lch-color
bun add random-lch-color
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-06-22 |
| First published | 2023-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | @mrmrs |
| Maintainers | mrmrs |
| Keywords | lch, color, random, generate |

## Links

- npm: https://www.npmjs.com/package/random-lch-color
- Repository: https://github.com/mrmrs/random-lch-color
- Homepage: https://github.com/mrmrs/random-lch-color#readme
- Issues: https://github.com/mrmrs/random-lch-color/issues
- npm.io page: https://npm.io/package/random-lch-color

## 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.0.0 (latest) — 2023-06-22

## README

# random-lch-color 

Generate a random lch color.

## Installation

```bash
npm install --save random-lch-color
```

## Usage

```javascript
var randomLCHColor = require('random-lch-color')

randomLCHColor()  // => 'lch(50% 100 100)'
randomLCHColor()  // => 'lch(82% 120 204)'
```

or

```javascript
import randomLCHColor from 'random-lch-color'

randomLCHColor()  // => 'lch(75% 60 0)'
randomLCHColor()  // => 'lch(49% 132 290)'
```

## Acknowledgements

Inspired by [random-hex-color by John Otander](http://github.com/johno/random-hex-color) which is repackaged from a [post by Paul Irish](http://www.paulirish.com/2009/random-hex-color-code-snippets/).

## License

MIT

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Crafted for generative doings by Adam Morse ([@mrmrs_](https://twitter.com/mrmrs_)).

***

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