New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

color-name-list

Package Overview
Dependencies
Maintainers
1
Versions
389
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-name-list

long list of color names

  • 2.6.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29K
decreased by-6.73%
Maintainers
1
Weekly downloads
 
Created
Source

10754 color-names 🎨

GitHub release npm version npm Travis license color count

A handpicked list of 10754 unique color names from various sources and thousands of user submissions. Try it yourself or read the full list.

The names of color function like a thread attached to a frightfully slender needle, capable of stitching together our most delicate emotions and memories. When the needle hits the target, we feel either pleasure or emathy. Kenya Hara – White

About 📋

The aim of this project is to create as large a list as possible of color names. We've merged various lists, modified the names when there were duplicates with different hex values, and shifted the colors a bit when there were identical colors with different names.

Submit a name 🌈

color count: 10754 🎉

Sources 🗒

Installation JS 📦

npm install color-name-list --save

or

yarn add color-name-list

Experimental API 🃏

https://color-names.herokuapp.com/v1/{{hexvalue without the #}}

ex: curl https://color-names.herokuapp.com/v1/060606

{
  "query":"060606",
  "name":"Black Metal",
  "hex":"#060606",
  "rgb":{"r":6,"g":6,"b":6},
  "isExact":true
}

Usage JS ⌨

import namedColors from 'color-name-list';

let someColor = namedColors.find(color => color.hex === '#ffffff')
console.log(someColor.name) // => white

Create a new build 🔨

npm install && npm run build

Contributors 🦑

Disclaimer ⚠️

In the process we try to remove all names that are offensive or racist. As some of the color names come from other lists, it might happen that some bad ones slip in. Please report them, they will be removed as quickly as possible.

Keywords

FAQs

Package last updated on 09 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc