Add this line to your application's Gemfile:
gem 'tiedye'
And then execute:
$ bundle
Or install it yourself:
$ gem install tiedye
Tiedye.all_colors.count => 504
Tiedye.all_colors => ["alice_blue", "antique_white", "antique_white1", .....]
You can call Tiedye.any_named_color.
Tiedye.alice_blue => "#f0f8ff"
Tiedye.red => "#ff0000"
Tiedye.to_rgb("#ff0000") => [255, 0, 0]
Tiedye.to_hex([255, 0, 0]) => "#FF0000"
Tiedye.to_hex(255, 0, 0) => "#FF0000"
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request