Generate lists of readable text colors, starting at a given hue and dividing the hue space into progressively smaller increments.
bower install color-slicer
Or just download dist/color-slicer.js.
var colorSlicer = require('color-slicer');
var count = myObjects.length;
var startHue = 180;
var colors = colorSlicer.getColors(count, startHue);
See dist/example.html.
- Fork the repo
npm install
- Create a new branch for your feature/bug fix
grunt
to build and watch files.grunt test
to run tests.- Send a pull request.