html css darken image code example Example: darken image css .container img { filter: brightness(50%); }