I have a module that estimates the color of an object and returns an RGB value in this format: (40, 48, 68)
which corresponds to this color:
Now I have to classify it to one of 8 different color classes as defined by a human:
Black, Brown, Blue, White, Red, Yellow, Green, Orange
For instance, the color above most resembles a Black color. And we can assume we have the RGB value of the preset colors.
Without use of a color classifier, what is an efficient heuristic to find the best class given an RGB value? I'm looking for any ideas. Also, does it help converting it to HSV?