on hover div gets darker without giving color code example
Example: css hover darken color
.your-css-class:hover {
background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
}
.your-css-class:hover {
background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
}