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

Code Example 1

.your-css-class:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
  }

Learn ReactJs, React Native from akashmittal.com