1D0-61B · Question #52
You are creating a style sheet to format the pages on your company's Web site. One section will have a black background with white text. What is the hexadecimal reference you would use to specify…
The correct answer is C. #FFFFFF. #FFFFFF is the correct hexadecimal color code for white, where each pair of hex digits (FF, FF, FF) represents the maximum value (255) for the red, green, and blue channels respectively - fully saturated RGB produces white. Option B (#000000) is the opposite: all channels at…
Question
You are creating a style sheet to format the pages on your company's Web site. One section will have a black background with white text. What is the hexadecimal reference you would use to specify the text color for this portion of the Web page?
Options
- A"white"
- B#000000
- C#FFFFFF
- D"255,255,255"
How the community answered
(52 responses)- A4% (2)
- C94% (49)
- D2% (1)
Explanation
#FFFFFF is the correct hexadecimal color code for white, where each pair of hex digits (FF, FF, FF) represents the maximum value (255) for the red, green, and blue channels respectively - fully saturated RGB produces white. Option B (#000000) is the opposite: all channels at zero, which produces black (the background color in this scenario, not the text). Option A ("white") is a valid CSS named color keyword, but it is not a hexadecimal reference as the question specifically asks for. Option D ("255,255,255") is the RGB decimal notation format, not hexadecimal. A useful memory trick: think "F is the highest hex digit, and full brightness across all channels = white" - so #FFFFFF is the "full blast" color, while #000000 is "nothing/no light" = black.
Topics
Community Discussion
No community discussion yet for this question.