By using the three primary colours of red, green and blue, all connected to a common anode, this LED can shine any combination of the three colours at varying intensities by using pulse width modulation.