Socket
Socket
Sign inDemoInstall

color-name-list

Package Overview
Dependencies
0
Maintainers
2
Versions
373
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.19.0 to 10.20.0

5

CONTRIBUTING.md

@@ -34,2 +34,3 @@ # Contributing

(plants and animals ;) ) ex. `Venus Slipper Orchid` instead of `Paphiopedilum`.
- Avoid ethnic & racial assumptions

@@ -42,5 +43,5 @@ ## Git

- Write your commit messages in imperative form:
**feat(colors): Adds fantastic new colors names.** rather then
**feat(colors): Add fantastic new colors names.** rather then
feat(colors): Added new names.
- Make sure to run `npm run build` before commiting. (No need to `npm ci` the
- Make sure to run `npm run build` before committing. (No need to `npm ci` the
dependencies are only needed if you need to run the API)

@@ -47,0 +48,0 @@

14

package.json
{
"name": "color-name-list",
"version": "10.19.0",
"version": "10.20.0",
"description": "long list of color names",

@@ -56,3 +56,13 @@ "main": "dist/colornames.json",

},
"dependencies": {}
"dependencies": {},
"funding": [
{
"type": "ko-fi",
"url": "https://ko-fi.com/colorparrot"
},
{
"type": "github-sponsors",
"url": "https://github.com/sponsors/meodai"
}
]
}

@@ -9,6 +9,6 @@ <img align="left" height="119" width="119" src="https://meodai.github.io/color-names/logo/cockatoo-fill.svg">

[![npm](https://img.shields.io/npm/dt/color-name-list.svg)](https://www.npmjs.com/package/color-name-list)
[![name count](https://img.shields.io/badge/__30241__-names-orange.svg)](https://github.com/meodai/color-names/blob/master/src/colornames.csv)
[![name count](https://img.shields.io/badge/__30245__-names-orange.svg)](https://github.com/meodai/color-names/blob/master/src/colornames.csv)
[![github sponsor count](https://img.shields.io/github/sponsors/meodai)](https://github.com/sponsors/meodai)
A handpicked list of __30241__ unique color names from
A handpicked list of __30245__ unique color names from
[various sources](#sources-) and thousands of curated user submissions.

@@ -58,3 +58,3 @@

## Color Count: __30241__ ๐ŸŽ‰
## Color Count: __30245__ ๐ŸŽ‰

@@ -140,8 +140,8 @@ ~__0.18%__ of the RGB color space

```javascript
import namedColors from 'color-name-list';
import { colorNameList } from 'color-name-list';
let someColor = namedColors.find(color => color.hex === '#ffffff');
let someColor = colorNameList.find(color => color.hex === '#ffffff');
console.log(someColor.name); // => white
let someNamedColor = namedColors.find(color => color.name === 'Eigengrau')
let someNamedColor = colorNameList.find(color => color.name === 'Eigengrau')
console.log(someColor.hex); // => #16161d

@@ -157,3 +157,3 @@ ```

import nearestColor from 'nearest-color';
import colorNameList from 'color-name-list';
import { colorNameList } from 'color-name-list';

@@ -160,0 +160,0 @@ // nearestColor need objects {name => hex} as input

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc