Skip to content

Colors that humans can understand

Notifications You must be signed in to change notification settings

iotique-srl/hex-to-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Igloo logo

Hex to name

Convert a hexadecimal code to the name of the closest match in a short and curated list of human readable colors.

Color names are currently available in the following languages:

  • English
  • Italian

Installation

Just download the library from npm.

Using npm

npm install @igloo-cloud/hex-to-name --save

Using Yarn

yarn add @igloo-cloud/hex-to-name

Usage

const hexToName = new HexToName('en') // Set english as the default language

hexToName.convert('#ff0000') // Red

About

Colors that humans can understand

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages