Learn CSS_ Colors Cheatsheet _ Codecademy
Learn CSS_ Colors Cheatsheet _ Codecademy
Colors
.transparent {
color: transparent;
}
CSS colors can be declared with the HSL color system .light-blue {
using hsl() syntax. This syntax contains three values:
background-color: hsl(200, 70%, 50%);
hue (the color value itself), saturation (intensity), and
lightness. }
Hue values range from 0 to 360 while saturation and
lightness values are represented as percentages.
li {
color: khaki;
}
Print Share