# palatable

> Automatically generate CSS color, background-color, and border-color utilities based on an array of color values

Latest version **1.0.1** (published 2015-03-26) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2015-03-26 |
| First published | 2015-03-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| Author | Brent Jackson |
| Maintainers | jxnblk |
| Keywords | css, color, color-palette |

## Links

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

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^3.5.0
- [closest-color-keyword](https://npm.io/package/closest-color-keyword.md) ^1.1.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-03-26
- 1.0.0 — 2015-03-25

## README

# palatable

Generate CSS color, background-color, and border-color utilities based on an array of color values

```bash
npm install palatable
```

```js
var palatable = require('palatable');
var primary = 
var primary = palatable({ colors: ['#f00', '#008000', '#00f'] });
```

Results in:

```css
/*

  colors

*/

.red { color: #f00; }
.green { color: #008000; }
.blue { color: #00f; }

.bg-red { background-color: #f00; }
.bg-green { background-color: #008000; }
.bg-blue { background-color: #00f; }

.border-red { border-color: #f00; }
.border-green { border-color: #008000; }
.border-blue { border-color: #00f; }

```

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