animate
The jQuery UI effects core extends the animate function to be able to animate colors as well. It's heavily used by the class transition feature and it's able to color animate the following properties:
- backgroundColor
- borderBottomColor
- borderLeftColor
- borderRightColor
- borderTopColor
- color
- outlineColor
with one of the following combinations:
- hex (#FF0000)
- rgb (rgb(255,255,255))
- names ("black")
Example: