I am going to do program one android application which will detect color of any solid background image using live camera preview or using captured image by camera.
Can I converts an rgb/hex value color into the closest color name which I already defined in particular list. Suppose I have defined 10 well known colors in my list. Once I would identified hex code of any color I need to find its closest color from list which I have.
How can I do this using efficient and fast algorithm? Is there any API in android palette class
to do the same?
Thanks