LED (RGB)
RGB tri-color LED with separate red, green, and blue channels
Overview
Section titled “Overview”The RGB LED is a tri-color LED with separate red, green, and blue channels. Each channel accepts a value from 0–255, and the LED renders the blended color as a glow effect behind the component.
It supports both common anode (CA) and common cathode (CC) configurations.
| Pin | Direction | Description |
|---|---|---|
R | Bottom | Red channel |
COM | Bottom | Common pin (anode or cathode, depends on config) |
G | Bottom | Green channel |
B | Bottom | Blue channel |
Configuration
Section titled “Configuration”| Option | Type | Default | Description |
|---|---|---|---|
type | Select | CC | Common Cathode (shared GND) or Common Anode (shared +V) |
Data Inputs
Section titled “Data Inputs”| Input | Range | Description |
|---|---|---|
r | 0–255 | Red channel intensity |
g | 0–255 | Green channel intensity |
b | 0–255 | Blue channel intensity |
Limitations
Section titled “Limitations”- The glow intensity is derived from the maximum of R, G, B — a low-balanced color (e.g.
r: 50, g: 50, b: 50) may appear dimmer than a single channel at 255