4 color tween

Lets say I have 4 boxes that are each of different color, and that I have 4 buttons that represent each colored box. So that when each button is clicked the colored boxes change color based upon the tween between the two of them. I know how to tween, but I’m not sure how to use AS3 to make this simple and efficient.

Any help would be appreciated.