image-color-extractor

1.2.0 • Public • Published

Image-Color-Extractor

🎉 Image-Color-Extractor allows you to extract color from images and use it in your app with ease. No more nonsense!

Installation

$ npm install image-color-extractor

The gist

  import React from 'react';
  import { useEffect } from 'react';

  import extractSingleColor from 'image-color-extractor';
  
  function App(){
    const imageURI = "YOUR_IMAGE_URI";
    
    useEffect(() => {    
    extractSingleColor(imageURI)
      .then(color => console.log(color))
      .catch(error => console.error(error))
  }, []);

    return (
      <div>
        
      </div>
    );
  }

Contribute

Show your ❤️ and support by giving a . Any suggestions are welcome! Take a look at the contributing guide.

Release Notes

You can find the release note for the latest release here

You can browse them all here

License

Licensed under MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i image-color-extractor

    Weekly Downloads

    1

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    10.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • abhinandan__wadhwa