0.1.3 • Published 8 years ago

colorblendjs v0.1.3

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

ColorBlendjs

Javascript utility for blending colors.

Live demo

colorblendjs

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);