# is-named-css-color

> Check whether a string is a named CSS color.

Latest version **1.0.0** (published 2015-11-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-named-css-color
pnpm add is-named-css-color
yarn add is-named-css-color
bun add is-named-css-color
```

## 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.0 |
| Published | 2015-11-03 |
| First published | 2015-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | John Otander |
| Maintainers | johno |
| Keywords | css, colors, named, color |

## Links

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

## Dependencies (1)

- [css-color-list](https://npm.io/package/css-color-list.md) 0.0.1

## 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.0 (latest) — 2015-11-03
- 0.0.1 — 2015-01-30

## README

# is-named-css-color [![Build Status](https://secure.travis-ci.org/johnotander/is-named-css-color.png?branch=master)](https://travis-ci.org/johnotander/is-named-css-color)

Check whether a string is a named CSS color.

## Installation

```bash
npm install --save is-named-css-color
```

## Usage

```javascript
var isNamedCssColor = require('is-named-css-color')

isNamedCssColor('tomato')           // => true
isNamedCssColor('blue')             // => true
isNamedCssColor('rebeccapurple')    // => true
isNamedCssColor('foobar')           // => false
```

## 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 with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).

***

> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).

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