How it works
An LED is a diode built from a semiconductor that emits photons when electrons cross its junction. Like any diode, it only conducts in one direction and has a forward voltage drop — but that drop depends on the LED's color, since color corresponds to the semiconductor's bandgap energy (red and infrared LEDs have the lowest forward voltage, blue and white the highest).
Because an LED's resistance drops sharply once it starts conducting, it must always be paired with a current-limiting resistor — connecting one directly across a supply voltage higher than its forward voltage will destroy it almost instantly.
CircuitForge lets you set the forward voltage directly, which is the one parameter that changes between LED colors in the simulation.