darken image css

.container img {
  filter: brightness(50%);
}#myimage {
    filter: brightness(50%);
}