Check out example codes for "darken image css". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

img {
filter: brightness(50%)
}

Code Example 3

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

Learn ReactJs, React Native from akashmittal.com