You are not really programming anything, you are constantly turning each of the R, G, and B LEDs on an off, with the % of off time controlling the color. This is a dynamic process that must continue to go on if the color is to remain set.
A microcontroller is by far the simplest hardware you...