/colorblendjs

Color blends for javascript.

Primary LanguageHTML

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