<!DOCTYPE html>
<html>
<body id=a></body>
<script>
document.getElementById("a")
  .animate([{"filter": "grayscale(28%)"}], {fill:"forwards", composite:"add"});
</script>
</html>