html {
  background: black;
  color: white;
}

div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
img {
  transition: 1s;
}
img:hover {
  filter: invert(100%);
  transition: 1s;
}
