colorblendjs

0.1.3 • Public • Published

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

Package Sidebar

Install

npm i colorblendjs

Weekly Downloads

1

Version

0.1.3

License

ISC

Last publish

Collaborators

  • javierbyte