lokesh / color-thief

Grab the color palette from an image using just Javascript. Works in the browser and in Node.
https://lokeshdhakar.com/projects/color-thief/
MIT License
12.49k stars 1.31k forks source link

How can get the color of the first top left pixel? #177

Open msassa opened 4 years ago

msassa commented 4 years ago

I'm working with logos, and I need to know the color of the background's logo. So, I was thinking to get the color of the top/botom left pixel. How can do that? Thanks