smoothly changing colors

i was wondering if any new how to make an object change colors smoothly. i have an object that is blue and when i click on it i want to gradually change the color to another color. need some help.

Hi !

Remember the old color, store the new one somewhere, setup a timer or something that interpolates from the first to the seond color in x number of steps, and there you have it.

Mikael