color-slicer

0.8.0 • Public • Published

color-slicer

Generate lists of readable text colors, starting at a given hue and dividing the hue space into progressively smaller increments.

Installation

bower install color-slicer

Or just download dist/color-slicer.js.

Usage

var colorSlicer = require('color-slicer');
var count = myObjects.length;
var startHue = 180;
var colors = colorSlicer.getColors(count, startHue);

See dist/example.html.

Development

  1. Fork the repo
  2. npm install
  3. Create a new branch for your feature/bug fix
  4. grunt to build and watch files.
  5. grunt test to run tests.
  6. Send a pull request.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.8.0
    2,697
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.8.0
    2,697
  • 0.6.1
    2
  • 0.1.2
    2
  • 0.1.1
    0
  • 0.1.0
    1

Package Sidebar

Install

npm i color-slicer

Weekly Downloads

611

Version

0.8.0

License

MIT

Last publish

Collaborators

  • bluej100