This tutorial will give you a brief introduction to the concept of colors and how different colors can be produced using RGB LED. The color would be controlled using an ATMega16 microcontroller.
RGB LEDs are basically the combination of the 3 LEDs (Red, Green and Blue) fused into a single package. It consists of four pins totally out of which three of them for the three different colors. The 4th pin is common for all three colors and it’s either Cathode or Anode.
Concept of Color
Color is the visual perceptual property corresponding in humans to the categories called red, blue, yellow, green and others. (Wikipedia definition)
We know that white light (say coming from the Sun) consist of mixture of colors. Remember the prism experiment you head of when you were in school?
So the primary colors of light are Red, Blue and Green. All other colors we see are formed by mixing of these three colors in different proportions.
Read more: Controlling RGB LED colour using Atmega16