Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>
img {
    -webkit-filter: brightness(200%); /* Chrome, Safari, Opera */
    filter: brightness(200%);
}

</style>
</head>
<body>

<p>Adjust the brightness of the image:</p>

<img src="pineapple.jpg" alt="Pineapple" width="300" height="300">

<p><strong>Note:</strong> The filter property is not supported in Internet Explorer, Edge 12, or Safari 5.1 and earlier.</p>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy