WorksheetsWeb Design DOL 3.10
Total questions: 5
Worksheet time: 3mins
Name
Class
Date
1.
Which of the following is a valid CSS color value?
a)
rgb(300, 0, 0)
b)
#GG1122
c)
hsl(200, 50%, 40%)
d)
rgba(255, 255, 255, 2)
2.
The alpha channel in rgba(34, 139, 34, 0.5) controls:
a)
Hue
b)
Saturation
c)
Lightness
d)
Opacity
3.
Which CSS function is used to specify a color with transparency(opacity)?
a)
hsl()
b)
hex()
c)
rgba()
d)
rgb()
4.
What does the 'hsl' in hsl(120, 100%, 50%) stand for?
a)
Highlight, Saturation, Lightness
b)
Hue, Shadow, Light
c)
Hue, Saturation, Lightness
d)
Highlight, Shade, Luminance
5.
Which of the following is NOT a valid way to define a color in CSS?
a)
hsl(360, 100%, 50%)
b)
rgb(255,255,0)
c)
#1a2b3c
d)
cmyk(0, 100, 100, 0)
100 %
