This shows a color sensor and RGB LED connected to the Arduino microcontroller. Notice we use a simple ping pong ball over the LED to enhance the effect. Color of the LED is set by what color is seen by the color sensor
Making The World a Better Place One High Tech Project at a Time. Enjoy!