html, body { margin: 0; padding: 0; width: 100%; height: 100%; background-color: black; } container { display: block; position: relative; width: 100%; height: 100%; background-color: black; } content { display: inline-block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: fill; background-position: center; background-repeat: no-repeat; } .animation-hueify { animation-duration: 5s; animation-name: hueify; animation-timing-function: linear; animation-iteration-count: infinite; } @keyframes hueify { 0% { filter: hue-rotate(0deg); } 50% { filter: hue-rotate(180deg); } 100% { filter: hue-rotate(0deg); } }