0
How to make Linear gradient color lighter in css?
2 Réponses
+ 1
could you please go into more detail about what you mean with 'maming the color lighter'..
Do you want to brighten up a colour e.g. make blue appear like light blue
0
To make a linear gradient color lighter in CSS, you can increase the value of the lightness property in the hsl color code. For example, to make a gradient that starts with a dark red and fades to a lighter red, you could use the following CSS:
background: linear-gradient(to right, hsl(0, 100%, 20%), hsl(0, 100%, 80%));
https://code.sololearn.com/W77C7POf6Ptc/?ref=app