RGB Color Mixer — Three Switches, Seven Colors
Mix any color with three separate LED channels
What you will learn
- How additive color mixing works with light (different from paint!)
- How to wire three separate circuits that share a common ground
- Why each color needs its own current-limiting resistor
What you will need
| Component |
|---|
| 1× 9V battery |
| 3× slide switches |
| 3× 220Ω resistors |
| 1× red LED |
| 1× green LED |
| 1× blue LED |
| Breadboard |
| 8× jumper wires |
Step by step
-
Step 1
Place the battery on the left, three switches in a vertical column, three resistors, then the three LEDs on the right (red on top, green in the middle, blue on the bottom).
-
Step 2
For each color: connect battery + → switch → resistor → LED anode (long leg).
-
Step 3
Connect all three LED cathodes (short legs) back to the battery − (they can share one wire to the − rail).
-
Step 4
Flip combinations of switches to mix colors: just red = red, red + green = yellow, all three = white.
Curriculum
This project maps to NCERT Class 10 Science — Ch 11 · The Human Eye and Colourful World. Teachers following the NCERT syllabus can use it as the practical for that chapter.
Take it further
- Try adding a fourth LED in the mix — what new colors can you make?
- Use a 555-timer circuit to flash the colors automatically instead of switches.
- Convert this to Arduino (Pins 9, 10, 11) and use analogWrite to fade between colors — see Project 47 (arduino-rgb-mixer) in the Arduino track.
Practise it before you build it
Wire this circuit in the ThinkEdge Learn simulator first. The simulator runs a real Arduino sketch against a modified-nodal-analysis solver, so the LED on screen actually lights when the current is right — no hardware, no burnt components, and a class can try it in a browser.
Related projects
Guides that use this project
2 guides on the site build this project as part of a longer explanation. The guide says why the circuit works; this page says how to wire it.
Where this project sits
It is also part of these lists, which is how a class usually finds it.
Try the full simulator with your class
103 guided circuit projects, 21 lessons and an in-browser Arduino simulator. The first 15 projects are free, no account needed. One licence covers a whole school.