# css-color-names

> A JSON Object of css color names mapped to their hex value

Latest version **1.0.1** (published 2019-02-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install css-color-names
pnpm add css-color-names
yarn add css-color-names
bun add css-color-names
```

## 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 | 2019-02-19 |
| First published | 2013-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 150 |
| Author | Dave Eddy |
| Maintainers | bahamas10 |
| Keywords | css, colors, names |

## Links

- npm: https://www.npmjs.com/package/css-color-names
- Repository: https://github.com/bahamas10/css-color-names
- Homepage: https://github.com/bahamas10/css-color-names#readme
- Issues: https://github.com/bahamas10/css-color-names/issues
- npm.io page: https://npm.io/package/css-color-names

## 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) — 2019-02-19
- 1.0.0 — 2018-10-08
- 0.0.4 — 2016-06-28
- 0.0.3 — 2015-11-02
- 0.0.2 — 2015-09-04
- 0.0.1 — 2014-07-04
- 0.0.0 — 2013-03-15

## README

css-color-names
===============

A JSON Object of css color names mapped to their hex value

Usage
-----

``` js
var csscolors = require('css-color-names');
console.dir(csscolors);
```

yields

``` json
{
  "aqua": "#00ffff",
  "aliceblue": "#f0f8ff",
  "antiquewhite": "#faebd7",
  "black": "#000000",
  "blue": "#0000ff",
  ...
}
```

How was this list generated?
----------------------------

In the Makefile you'll see a line like this:

	./getcolors.sh | ./stringify.js > $(FILE)

The first command scrapes a site for the list,
and outputs the results separated by newlines.  The
second command creates the JSON object and outputs
it to stdout, which then gets redirected into
`css-color-names.json`

Installation
------------

    npm install css-color-names

License
-------

MIT

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