1.1.0 • Published 5 years ago

take-colors v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

NPM version NPM downloads MIT License js-standard-style Build Status: Linux Build Status: Windows Coverage Status

take-color

Take Color

v1.1.0

Installation

npm i -S take-color

Usage

var color = require('take-color');

color.fromImage('./test/static/test.png').then( res => {
  console.log( res ); // [ [ 'SteelBlue', [ 70, 130, 180 ], '1.00' ] ]
});

color().fromName('Blue', 'blue.jpg').then( () => {
  console.log( 'blue file created' );
});

Tests

npm test

Change Log

all changes

Created by

Dimitry, 2@ivanoff.org.ua

curl -A cv ivanoff.org.ua