RGB LED
RGB LEDs combine red, green, and blue dies in one package to mix any colour, used for status lights, addressable strips, and decorative lighting.
Electrons crossing the junction drop into lower-energy holes, releasing the difference as photons. Different semiconductor materials drop different energy gaps, which is why LEDs come in red, green, blue, and beyond.
In plain terms
A water mill that, instead of grinding grain, glows when water flows through it. Reverse the flow and the mill stops.
Why designers use it
- Build colorful indicators that encode multiple states.
- Light products with addressable chains (WS2812 / NeoPixel).
- Theme dashboards with brand colors.
Best for
- Indicators
- Backlights
- General lighting
- Optical signalling
Key specifications
- Channels: Red, Green, Blue (sometimes +White)
- Vf per colour: Red 1.9–2.2 V, Green/Blue 3.0–3.4 V
- If per colour: 5 mA – 60 mA
- Common terminal: Common-anode or common-cathode
- Smart RGB clock: WS2812: 800 kHz, APA102: 30 MHz SPI
When not to use it
- Without a current-limiting resistor or driver — they self-destruct quickly.
- Where a diffuse glow is needed and the LED's narrow beam would create harsh hotspots.
Common mistakes
- Wiring an LED across a battery without a series resistor.
- Reversing the polarity — most LEDs simply don't light, but high-voltage drives can damage them.
- Using a generic resistor value across all colours; forward voltages differ widely.
Where you will find it
- A gaming keyboard uses one WS2812B RGB LED per key: each LED integrates its own driver IC and accepts a serial 24-bit colour command; the microcontroller sends a chain of commands in 800 kbps pulses and each LED strips off its three bytes and relays the rest, producing per-key lighting with a single wire.
- A smoke alarm's hush-button indicator uses an RGB LED: red means alarm, green means normal, amber means low battery — the tri-colour feedback lets a single LED replace three separate single-colour LEDs and saves board space in a consumer device where BOM cost is everything.
- A reef aquarium controller uses a six-channel RGB LED array with separate PWM control: the controller ramps the blue channel to 100 % during the reef's simulated 'noon', fades red in at 'dawn' and 'dusk', and dims all channels at night — mimicking the spectral shift of sunlight through seawater to encourage coral growth.
A short history
Combining red, green and blue LED chips in one package allows additive colour mixing by controlling each channel. Package wiring is not universal: devices may share an anode or cathode, expose separate terminals, or include a driver. For example, Vishay's six-terminal RGB packages provide independent chip connections.
Good to know
- WS2812 'NeoPixel' parts have a tiny controller and a single-wire protocol per LED — chain 1,000 of them and they each address themselves.
- True 'white' from RGB needs perceptual calibration; pure 33/33/33 mixing comes out greenish because human eyes peak at green.
- APA102 LEDs use a separate clock pin — that means you can drive them from a microcontroller without strict 800 kHz timing, and the brightness is updated more cleanly.