Saturday, May 18, 2024
HomeCSSbrightness - Find out how to darken/decrease background picture highlights with css?

brightness – Find out how to darken/decrease background picture highlights with css?


I’ve a number of photographs just like this one:
Side of a motorcycle, black and white lighting, with high contrast between shadows and highlights
As you possibly can see, there’s a giant distinction between the shadows and highlights within the picture. Many of the picture is alright to put white textual content over, however generally my textual content goes over a brilliant spot, making it unreadable, so I wish to decrease the brightness of solely the picture’s highlights (like you are able to do in most traditional picture apps) utilizing css, whereas preserving the shadows and mid-brightnes areas as they’re. I can discover a number of assistance on find out how to darken a complete picture, however nothing on find out how to darken solely the highlights. I used to be considering background-blend-mode would possibly work, however I do not know find out how to use it, or which impact can be proper.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments