<html> <head> <style> body { text-align: center; } input { margin: 0 0 30px 0; } img { border-radius:20px;width: 250px; filter: contrast(125%); } input { width: 250px;}</style> </head> <body> <div> <h4>Grayscale</h4> <div>- <input type="range" id="saturation-slider" min=".0" max="1" step=".01" value="0"> +</div> <br> <img src="https://mimo.app/i/tiger.png" > <script> document.getElementById('saturation-slider').addEventListener('input', function (e) { document.body.style.filter = `grayscale(${this.value})`; });</script> </div> </body> </html>]]>