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