0.1.7 • Published 10 years ago

entity-color-tool v0.1.7

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

entity-color-tool

Build Status

Basic color stepping utilities, now includes a universal module loader.

Getting Started

1. Installation

npm install entity-color-tool

2. Examples

var tool = require('entity-color-tool')

tool.blendHexArray(100, "#FF0000", "#FFFF00")

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 = require('entity-color-tool')

tool.hueHexArray(3, "#FF0000", 360)

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.

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago