Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
raakesh-blokhra opened this issue Nov 25, 2021 · 0 comments

Comments

@raakesh-blokhra
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant