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