Color Mixing Lamp

In color mixing lamp, we program the RGB LED and the phototransistors. When the phototransistor is exposed to a certain color through the gels, the RGB lights up that color. In this case, all of the colors (red, green, blue) are exposed to equal light; therefore, the RGB LED is outputting a mixture of those colors, a purplish color.