darken color hover code example
Example 1: css lighten function
color: lighten(var(--primaryColor), 50%);
Example 2: css hover darken color
.your-css-class:hover {
background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
}
color: lighten(var(--primaryColor), 50%);
.your-css-class:hover {
background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
}