Step 1: Parts List
RGB LED module (if you don't have RGB LED module but only RGB LED you will need to connect 330Ω resistors to led)
Step 3: Code
With potentiometer you can adjust brightness of actual color and with button you change color.
Sorry for my bad english.