Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

img-color-picker

soriano4ISC1.0.1

imgColorPicker

readme

imgColorPicker

Available in npm

Setup

Install dependencies

npm install imgColorPicker --save

Usage

Ex:

import imgColorPicker from 'imgColorPicker'

try {
  let obj = new imgColorPicker( "img" )
  obj.listener(function( color ){
    console.table([ ["R", "G", "B"],   [ color[0], color[1], color[2] ]  ])
  })
} 
catch (err) {
  console.error(err)
}

Or in script tag

<script src="./PATH/node_modules/imgColorPicker/dist/imgColorPicker.js"></script>

Demo