Home | Computer Science

HSL VALUE
In CSS, a color can be specified using hue, saturation, and lightness (HSL) in the form: hsl(hue, saturation, lightness).


4. CSS color with HSL. Here is what the "styles.css" file looks like: "styles.css" h2{ background-color: hsl(240, 100%, 50%); } h3{ background-color:hsl(147, 50%, 47%); } "External.html" <html> <head > <link rel="stylesheet" href="styles.css"> </head > <body> <h2 > <This is Way to add color with HSL></h1 > <p h3> <This is Way to add color with HSL.></p > </body> </html>

This is Way to add color with HSL

This is Way to add color with HSL