entity-color-tool
Basic color stepping utilities, now includes a universal module loader.
Getting Started
1. Installation
npm install entity-color-tool
2. Examples
var tool =tool
Blending colors "#FF0000" and "#FFFF00" over 100 increments returns the hex codes in an array
[ '#ffff00', '#fffc00', '#fff900', '#fff700', ..., '#ff0c00', '#ff0a00', '#ff0700', '#ff0500', '#FF0000']
var tool =tool
Shifting hue starting at "#FF0000" by the number of steps for up to specified degrees. Increments returned as hex codes in an array
[ '#FF0000', '#00FF00', '#0000FF' ]
Copyright and license
Copyright (c) 2015, Anycode lee@anycode.io
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.