CSS Color Values

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following Selector same as :firstline; changed under CSS3 to make pseudoelements obvious?
Explanation:
None.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?
HSLa Color
Commonly defined named colors
System Color Names
Specificationdefined named colors
Explanation:
None.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Which of the following Color Format are a 17 defined colors under CSS 2.1?
HSLa Color
Commonly defined named colors
System Color Names
Specificationdefined named colors
Explanation:
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following CSS3 Color Feature can be used as a macro for whatever the current color is?
CurrentColor keyword
HSLa Color
HSL Color
RGB Color
Explanation:
This is useful if you want to dynamically change one color and have other related colors change.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?
RGB
RGBa
RGBaplha
AlphaRGB
Explanation:
An RGBa is specified via a function style rgba(r,g,b,a) value, where colors r, g, and b are specified as a decimal value from 0 to 255 or a percentage from 0 to 100%, and the alpha channel value for defining opacity is a number between 0 (fully transparent) and 1 (fully opaque). Values outside this range will be rounded up or down to fit the closest value.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
What does HSL stands for?
Hue Specified Lightness
Hue Spot Lightness
Hue Saturation Lightness
None of the mentioned
Explanation:
None.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Which of the following Color Format is a CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?
RGB Color
RGBa Color
HSL Color
HSLa Color
Explanation:
None.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Which of the following Selector selects an element if it’s the only child of its parent with its type?
Explanation:
None.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?
6-Hex Color
3-Hex Color
RGBS
RGBa
Explanation:
The format specifies color as #rrggbb, where rr is the amount of red, gg the amount of green, and bb the amount of blue, all specified in a hexadecimal value ranging from 00 to FF.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Which of the following Color Format is a CSS colors can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?
RGB Color
RGBa Color
HSL Color
HSLa Color
Explanation:
RGB color values can also be defined using percentages. The format is the same, except that the numbers are replaced by percentage values between 0% and 100%.