Simulation of RGB LED

Simulation

Now, click to stat simulation button to test the circuit and code.

Then, you will see LED will glow in different colors with some delay.