brightness in css code example
Example 1: invert css
.image {
filter: invert(1);
}
Example 2: css brightness
/*
In order to use CSS Brightness you need to use the Filter property
You can use a percent or a decimal or an integer
*/
filter: brightness(100%);
/* OR above 100% */
filter: brightness(200%);
Example 3: brightness css
brightness(0%) /* Completely black */
brightness(0.4) /* 40% brightness */
brightness(1) /* No effect */
brightness(200%) /* Double brightness */