Make a gradiant color - delay time

Hi all,
I want to do a rotating gradient of colors, going from lighter green to darker on a background of a Screen.

The problem is that to change from one color to another I need to introduce a delay, how to make this delay?

thank you



To implement the delay, use Timer, but I think that you do not need a delay, since you can set the speed of the timer. Below is an example for displaying Toast (as in Android).


Since you work with color, I think that you will be interested in learning about the formats in which you can set the color: