ColorName is a simple ruby gem that allows you to get a name of any color. Based on Name That Color.
gem install color_name
Or add the following line to your Gemfile:
gem 'color_name'
irb(main):001:0> ColorName.get('#f00')
=> "Red"
irb(main):002:0> ColorName.get('#e02253')
=> "Amaranth"
Licensed under the MIT license, see the separate LICENSE file.