css lighten function code example
Example 1: css lighten function
color: lighten(var(--primaryColor), 50%);
Example 2: how to lighten the color of text in html
There is "opacity" which will make the background shine through:
opacity: 0.5;(change the value according to your needs)