Sollte es nicht mit 'animation' funktionieren?
#id {
animation-name: farbWechsel;
animation-duration: 5s;
animation-iteration: infinite;
animation-direction:alternate;
animation-state: paused;}
#id:hover{
animation-play-state: running;}
@keyframes farbWechsel {...