take-color

1.1.0 • Public • Published

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

/take-color/

    Package Sidebar

    Install

    npm i take-color

    Weekly Downloads

    1

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    41.6 kB

    Total Files

    30

    Last publish

    Collaborators

    • ivanoff