Really common RGB example of how to wire three potentiometers to an arduino to change an LED's color.

Each of the potentiometers get 5v and returns a value of 0-1023 back to the arduino, this then gets mapped to a 0-255 output to go to the corresponding rgb pin on the led.