Hello! I am fairly new to arduino coding, and I am having some trouble.
I am using a color sensor that reads out an RGB value such as 0 255 0. I have an r, g, and b number. From this, I am trying to find a way to create an array of RGB combinations for a range of colors and find the closest match to that from the RGB value I get in.
Any suggestions are welcome! Thank you so much.