Edit in JSFiddle

img {
   transition: filter 6s ease; 
   -webkit-transition: -webkit-filter 6s ease;
}

img:hover {
    filter: hue-rotate(360deg);
    -webkit-filter: hue-rotate(360deg);
}