how to darken a part of an image in css code example Example: darken image css .container img { filter: brightness(50%); }