Hi!
I am interested in making a device that knows how to classify colors and for that I use the TCS3200 module. I see tables like the ones I will attach below and I assume that the RGB values I will get from the TCS3200 will not be exactly as in the table but similar to them for the obvious reason that each object has a slightly different shade (purple a little darker, purple A little brighter, etc...).
My question is, is it possible to define a range of values for each particular color?
If there is a way how can it be implemented in code?
Guess there are quite a few people here who have come across this question...
I was in a hurry. I should have used "3 * (255ul*255ul)" which is the largest possible distance. The distance between black (0,0,0) and white (255,255,255).