EDITABLE CODE:
LiveDemo: jQuery UI Effects : Method animate()
Note: Notice the way the color changes for both the text and background during the course of animation.