My goal
is to find a way to grab a 2 hex colors automatically base on an image.
The 2 colors should be selected base on the majority/percentages of the color appearance, excluding (white+black color).
Ex.
Base on this logo
I should get back these 2 hex base on the logo
- Orange =
#F48024
- Grey =
#BCBBBB
Ex 2.
Base on this logo
I should get back these 2 hex base on the logo
- Red =
#EF0101
- Blue =
#2C32A8
Is there a frameworks/API that help me achieve that?
I'm not looking to re-invented the wheel here.