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
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 RGBA stand for in CSS color values?
A). Red, Blue, Green, Alpha
B). Red, Green, Blue, Opacity
C). Realistic Brightness Adjustment
D). RGB with 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 sets the color of an element's border?
A). color
B). background-color
C). border-color
D). box-shadow
Which CSS property sets the color of text within an element?
A). text-color
B). font-color
C). color
D). text-fill
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 does the color property in CSS use to specify colors using HSLA values?
A). Red, Green, Blue, Opacity
B). Hue, Saturation, Lightness, Alpha
C). Hexadecimal codes
D). RGB values with an alpha channel
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