1 <svg xmlns='http://www.w3.org/
2000/svg'
>
2 <rect width='
100' height='
100'
>
3 <animateColor attributeName=
"fill" from='#DD0000' by='#
0000DD' dur='
3s' fill='freeze'
/>
5 <text x='
10' y='
120'
>The rect should animate from red to purple over
3 seconds
</text>