make image darker in css

CSS
#myimage {
    filter: brightness(50%);
}
Source

Also in CSS: