GitXplorerGitXplorer
c

colorscheme

public
1 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
25fb3c730c2da3f3fd3012427e23671ff1a5a81a

removed some code - it was just a test of my testing skills really

cclauswitt committed 12 years ago
Unverified
2b301e2349eeb4f0540dbb729c149e5f0f3e83e3

added a .rspec file

cclauswitt committed 12 years ago
Unverified
0087aadc1249a9860f4984829e93bf3b1e2c6213

added minor things

cclauswitt committed 12 years ago
Unverified
de074a1fe20a7fae1ed5793dccec6ce894949b11

setup basic rspec

cclauswitt committed 12 years ago
Unverified
3a2541dc1d7b9f5bb08bd90e8c276505eee5f9ff

add rmagick as a dependency

cclauswitt committed 12 years ago
Unverified
28f3f89ec1e9de4a768d739f8fa06bf034a2248d

added some info to the readme

cclauswitt committed 12 years ago

README

The README file for this repository.

Colorscheme

Colorscheme is a gem for creating a colorscheme from a known source - either a website, an image or a (set) of color(s). The gem can be used to generate a set of colors to be used in a websites stylesheet.

It will give your options of getting the following types of colorschemes:

  • Monochromatic
  • Complementary
  • Analogous
  • Triadic
  • Split-Complementary
  • Tetradic
  • Square

Currently working version:

You can only get colors as Color objects (from the Color gem) and you can only get colorschemes from a known color (again, a Color object from the Color gem).

The only implemented schemes are: Complementary, Analogous, Triadic, Split-Complementary and Square.

Installation

Add this line to your application's Gemfile:

gem 'colorscheme'

And then execute:

$ bundle

Or install it yourself as:

$ gem install colorscheme

Usage

scheme = Colorscheme::Triadic.new(Color.RGB.new(255,0,0))
scheme.colors # is an array of three colors

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request