I have a color (RGB) being read from a sensor. I also have a list of "known" colors, each paired with a string name.
What would the best way (ie behave like a human choosing colors) to pull the name of the nearest color out of this list?
I've tried a shortest cartesian distance with RGB, but that makes grey closer to green than to black or white.