Skip to content

alexeevit/color_name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorName

ColorName is a simple ruby gem that allows you to get a name of any color. Based on Name That Color.

Install

gem install color_name

Or add the following line to your Gemfile:

gem 'color_name'

Usage

irb(main):001:0> ColorName.get('#f00')
=> "Red"
irb(main):002:0> ColorName.get('#e02253')
=> "Amaranth"

License

Licensed under the MIT license, see the separate LICENSE file.

About

A simple ruby gem that allows to get the name of a color given as a hex

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages