Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style> 
img {
  animation: mymove 7s infinite;
}
@keyframes mymove {
  50% {
    -webkit-filter: grayscale(100%); 
    filter: grayscale(100%);
  }
}
</style>
</head>
<body>
<h1>Animation of filter</h1>
<p>Gradually change the color of the image to black and white (100% grayscale), and back to its original colors:<p>
<img src="pineapple.jpg" alt="Pineapple" width="300" height="300">
</body>
</html>