how to dynamically lighten and darken color in javascript 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));
}