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