Prelims - CSS colors Flashcards
1
Q
In CSS, a color can be specified using this formula
rgb(red, green, blue)
A
RGB Value
ex. rgb(255, 99, 71)
rgb(red, green, blue)
2
Q
In CSS, a color can be specified using a hexadecimal value in the form#rrggbb
A
HEX Value
ex. #ff6347
“#rrggbb”
2
Q
In CSS, a color can be specified using hue, saturation, and lightness (HSL) in the form
hsl(hue, saturation, lightness)
A
HSL Value
ex. hsl(0, 100%, 50%)
hsl(hue, saturation, lightness)