# chromotome

> A collection of colors palettes for personal use.

Latest version **1.21.4** (published 2023-08-29) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.21.4 |
| Published | 2023-08-29 |
| First published | 2018-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 83.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 354 |
| Author | Kjetil Golid |
| Maintainers | golid |
| Keywords | colors, palette |

## Links

- npm: https://www.npmjs.com/package/chromotome
- Repository: https://github.com/kgolid/chromotome
- Homepage: https://github.com/kgolid/chromotome#readme
- Issues: https://github.com/kgolid/chromotome/issues
- npm.io page: https://npm.io/package/chromotome

## 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.21.4 (latest) — 2023-08-29
- 1.21.2 — 2023-08-29
- 1.21.1 — 2023-08-29
- 1.21.0 — 2023-08-29
- 1.20.0 — 2022-01-13
- 1.19.1 — 2020-12-06
- 1.19.0 — 2020-11-08
- 1.17.6 — 2020-08-07
- 1.17.5 — 2020-08-01
- 1.18.1 — 2020-07-09
- 1.18.0 — 2020-07-09
- 1.17.3 — 2020-05-31
- 1.17.2 — 2020-04-17
- 1.17.1 — 2020-04-15
- 1.17.0 — 2020-04-15
- … 46 more at https://npm.io/package/chromotome/versions

## README

# Chromotome

A collection of color palettes used in order to easily colorize new creative coding projects. New palettes will be continuously added, and all existing ones are subject to change.

Installation:

```
npm install -save chromotome
```

Basic usage:

```javascript
// Can both use ES6 import and CommonJS require.
import * as tome from 'chromotome';

// Palettes can be acquired randomly...
let palette = tome.get(); // tome.getRandom() also works.

// ...or by name!
palette = tome.get('miradors'); // tome.getNames() gets you a list of all the different palette names.

// A palette consists of an array of colors together with (usually) a stroke color and a background color.
console.log(palette.colors); // --> ['#ff6936', '#fddc3f', '#0075ca', '#00bb70']
console.log(palette.stroke); // --> '#ffffff'
console.log(palette.background); // --> '#020202'
```

Palette overview:

https://kgolid.github.io/chromotome-site/

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