Opacity change

what i would like to do is… press a button and make an object change from one color to another by going through opacity change… for example… a red block fades away and fades into a blue