Project

color_name

0.0
No commit activity in last 3 years
No release in over 3 years
A simple ruby gem that allows you to get a name of any color.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 3.9
 Project Readme

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.