0.0
No commit activity in last 3 years
No release in over 3 years
Find the color that's between two other hex colors.
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.0.0, ~> 3.0

Runtime

 Project Readme

ColorDivider

Gem Version

Find the color that's between two other hex colors.

Install

gem install color_divider

Usage

require 'color_divider'

color_divider = ColorDivider.new("#000000", "#FFFFFF")

color_divider.start_color  #=> "#000000"
color_divider.end_color    #=> "#FFFFFF"
color_divider.middle_color #=> "#808080

Related Gems

Development

Install

gem install --dev color_divider

Specs

The default Rake task is to run the specs.

rake

License

MIT