I have worked a bit with LED strips recently so i want to give some links on the basics of LEDs:
https://www.ngineering.com/led_circuits.htm - The figure one is actually how the inside of a multi colored LED bulb works. Most consist of of three diodes with red, blue, and green diodes where the value on each individual diode at a given moment determines the overall color.