gaffling/PHP-Simple-Color-Thief

Is there a way to pick the Precise color of the most dominant color?

raakesh-blokhra opened this issue · 0 comments

Hi Igor,

Thanks for the code. Really well written and works pretty well for the most part. However, I wonder what would be the best way to use it to get the exact hex value of the most dominant color on an image?
For example:
If I take the bitcoin icon from Wikipedia:
https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/BTC_Logo.svg/183px-BTC_Logo.svg.png
I am getting the hex: c38234
Whereas the dominant color is: F79413

Any tips would be highly appreciated.