how to darken the image in css code example Example: make image darker in css #myimage { filter: brightness(50%); }