It works now

Made a few mistakes earlier, but this will make the RGB cycle through
each colour.

Also, there is a a “fade-in” setup so that the green and blue LEDs will
fade up rather than just turn on.