Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Multiple Choice Questions
Q1701: What is the range of the alpha parameter in RGBA and HSLA color values?
- A: 0.0 to 1.0
- B: 0 to 255
- C: 1 to 100
- D: 0 to 360
View Answer
A
Q1702: Fill in the blank: The rgba() function specifies colors with an additional ______ parameter.
- A: opacity
- B: hue
- C: lightness
- D: saturation
View Answer
A
Q1703: What does the hsla() function add to HSL colors?
- A: Saturation
- B: Lightness
- C: Opacity
- D: Hue
View Answer
C
Q1704: Fill in the blank: The opacity property in CSS3 sets the transparency of a specified ______ value.
- A: HSL
- B: RGB
- C: HSLA
- D: RGBA
View Answer
B
Q1705: Which CSS3 color function allows specifying a color with hue, saturation, lightness, and opacity?
- A: rgba()
- B: hsl()
- C: hsla()
- D: opacity()
View Answer
C
Q1706: Fill in the blank: The hsl() function specifies color values using hue, saturation, and ______.
- A: opacity
- B: brightness
- C: lightness
- D: contrast
View Answer
C
Q1707: What does the rgba() function include that the rgb() function does not?
- A: Hue
- B: Saturation
- C: Alpha channel
- D: Lightness
View Answer
C
Q1708: Fill in the blank: In HSLA colors, the alpha parameter specifies the ______ of the color.
- A: brightness
- B: hue
- C: opacity
- D: saturation
View Answer
C
Q1709: Which color function in CSS3 uses degrees to define the color?
- A: rgba()
- B: hsla()
- C: hsl()
- D: opacity()
View Answer
C
Q1710: Fill in the blank: The alpha parameter in hsla() can range from ______.
- A: 0 to 100
- B: 0 to 360
- C: 0.0 to 1.0
- D: 0 to 255
View Answer
C