Answers for "css background lighten"

CSS
0

css darken

.button {
  color: #ff0000;
}

/* note: 100% is baseline so 85% is slightly darker, 
   20% would be significantly darker */
.button:hover {
  filter: brightness(85%);
}
Posted by: Guest on November-24-2021
0

css lighten function

color: lighten(var(--primaryColor), 50%);
Posted by: Guest on December-30-2020
0

css darken color

// Darker a color
rgba(var(--color-variable), 0.5);
Posted by: Guest on July-09-2021

Browse Popular Code Answers by Language