Skip to content

A command line utility that uses the library that the name that color project (http://chir.ag/projects/ntc/) uses that also provides additional functionality

License

Notifications You must be signed in to change notification settings

ryanzec/name-that-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name That Color

A command line utility that uses the library that the name that color project (http://chir.ag/projects/ntc/) uses that also provides additional functionality

Install

npm install -g name-that-color

Usage

You use the command line utility name-that-color and pass in any color that can be processed by One Color.

name-that-color "#a9d91d"
//=> #a9d91d name is Inch Worm
name-that-color "a9d91d"
//=> a9d91d name is Inch Worm
name-that-color "#eee"
//=> #eee name is Gallery
name-that-color "rgb(124, 96, 200)"
//=> rgb(124, 96, 200) name is Blue Marguerite
name-that-color "rgb(99%, 40%, 0%)"
//=> rgb(99%, 40%, 0%) name is Blaze Orange
name-that-color "hsl(120, 75%, 75%)"
//=> hsl(120, 75%, 75%) name is Sulu
name-that-color "hsv(220, 47%, 12%)"
//=> hsv(220, 47%, 12%) name is Vulcan

Note that the Name That Color library does not factor in alpha channel.

Libraries Used

License

This library is released under MIT. The Name That Color library is released under the Creative Commons Attribution 2.5 Generic.

About

A command line utility that uses the library that the name that color project (http://chir.ag/projects/ntc/) uses that also provides additional functionality

Resources

License

Stars

Watchers

Forks

Packages

No packages published