This is a small example of cycling the colors of an RGB LED using just square waves. By adjusting the cycle for each color starting at a different time, six colors can be cycled within the time of the square wave cycle. Delaying the next color cycle shifts the time so that each of the colors remains on to mix with the other two including a time for it to be on by itself. Enjoy!