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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In CSS, a color can be specified using a hexadecimal value in the form
#rrggbb

A

HEX Value

ex. #ff6347

“#rrggbb”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly