How are colors represented using HSL values in CSS?
A). As words like red, blue, green, etc.
B). As RGB values
C). As percentages for hue, saturation, and lightness
D). As four-digit codes starting with a # symbol
Which color format uses predefined color names like red, blue, green, etc.?
A). Hexadecimal codes
B). RGB values
C). Color names
D). HSL values
Which color format uses hue, saturation, and lightness values to represent colors?
A). Hexadecimal codes
B). RGB values
C). Color names
D). HSL values
What does the background-color property in CSS define?
A). Color of the text
B). Color of the background behind an element
C). Color of the border
D). Color of the shadow around an element
What is the purpose of the box-shadow property in CSS?
A). To set the color of the text
B). To set the color of the background behind an element
C). To set the color of an element's border
D). To create a shadow effect around an element
How are colors represented using RGBA values in CSS?
A). As words like red, blue, green, etc.
B). As RGB values
C). As four-digit codes starting with a # symbol
D). As RGB values with an alpha channel for opacity
Which CSS property sets the color of an element's border?
A). color
B). background-color
C). border-color
D). box-shadow
Which CSS property is used to set the color of an element using RGB values?
A). color
B). background-color
C). border-color
D). box-shadow
What is the purpose of the box-shadow property in CSS?
A). To set the color of the text
B). To set the color of the background behind an element
C). To set the color of an element's border
D). To create a shadow effect around an element
What does the background-color property define in CSS?
A). Color of the text
B). Color of the background behind an element
C). Color of the border
D). Color of the shadow around an element