Noooooo. RGB is not useful for anything but computer displays. Always use a suitable color space if you want to calculate with color values. Eg a CieLAB one or similar.
Noooooo. RGB is not useful for anything but computer displays. Always use a suitable color space if you want to calculate with color values. Eg a CieLAB one or similar.
Sometimes "good enough" works.
Even beyond that though, there is something to be said for seeking to approach perfection. Nobody is requiring or expecting perfection, but when someone offers an easy way to get closer to it, it will rub many the wrong way when someone rebukes the helpful suggestion with the excuse of “good enough is fine, so stop providing helpful product improvement advise!” This is how you achieve mediocrity.
EDIT: after looking into this: CieLAB is still beyond scope, but a good solution for nearest color when you want to be accurate to that degree.
This seems to be to be one of those cases where the simple and obvious approach appears to give a better result than the 'correct' approach