Camalian
Ruby gem to extract color palettes from images and play with their saturation
Installation
Add this line to your application's Gemfile:
gem 'camalian', '~> 0.0.3'
And then execute:
$ bundle
Or install it yourself as:
$ gem install camalian
Usage
image = Camalian::load('file_path')
colors = image.prominent_colors(15)
colors = colors.sort_similar_colors
colors.light_colors(0, 40)
Contributing
- 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