colorblendjs
v0.1.3
Published
Color blends for javascript.
Downloads
11
Maintainers
Readme
ColorBlendjs
Javascript utility for blending colors.
Installation
npm install colorblendjs --save
Usage
Require the file:
var colorblend = require('colorblendjs');
Use it!
// currently a color must be a `rgb` array like [160, 179, 197];
// intensity goes from 0 to 1
var resultColor = colorBlend.overlay(firstColor, secondColor, intensity);