# palx

> Automatic UI Color Palette Generator

Latest version **1.0.3** (published 2018-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install palx
pnpm add palx
yarn add palx
bun add palx
```

## 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.3 |
| Published | 2018-02-11 |
| First published | 2016-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/palx) |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brent Jackson |
| Maintainers | jxnblk |
| Keywords | color, color-palette |

## Links

- npm: https://www.npmjs.com/package/palx
- npm.io page: https://npm.io/package/palx

## Dependencies (2)

- [micro](https://npm.io/package/micro.md) ^6.1.0
- [chroma-js](https://npm.io/package/chroma-js.md) ^1.2.1

## 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.3 (latest) — 2018-02-11
- 1.0.2 — 2016-12-08
- 1.0.1 — 2016-11-21
- 1.0.0 — 2016-11-19
- 1.0.0-beta.1 — 2016-08-03

## README

# Palx

Automatic UI Color Palette Generator

https://palx.jxnblk.com

```js
npm i palx
```

Provide a single color value and Palx returns a full-spectrum color palette,
well suited for UI design and data visualizations that work harmoniously with brand colors.

```js
const palx = require('palx')

palx('#07c')
// Returns a color object with
// 12 hues and a gray spread across
// 10 luminance steps
```

## About

Inspired by [Open Color](https://yeun.github.io/open-color/),
Palx takes a single input color,
then spreads the hue across the color spectrum in 12 steps,
and spreads each hue across 10 luminance steps.
Palx also desaturates the main color to create shades of gray and a black that are based off the original color.

### Related

- [Hello Color](http://jxnblk.com/hello-color)
- [Colorable](http://jxnblk.com/colorable)
- [Monochrome](https://monochrome.jxnblk.com)
- [Grays](http://jxnblk.com/grays)
- [Shade](http://jxnblk.com/shade)
- [Spectral](http://jxnblk.com/Spectral)
- [Open Color](https://yeun.github.io/open-color)

MIT License

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