In this project we study using analog inputs on phototransistor example. We use three of them for each seperate color, and later mix it using Pulse Width Modulation (PWM) in 3 color LED.

Arduino Wiring