1D0-61B · Question #59
You are creating a style sheet to format your Web pages. For the page background color, you enter the hexadecimal code FF0000. What color will the page background be when you apply this style?
The correct answer is A. Red. FF0000 maps to pure red because hexadecimal color codes follow the RGB format (RRGGBB), where the first two digits represent red, the middle two represent green, and the last two represent blue. FF is the maximum value (255 in decimal), so FF0000 means full red, zero green…
Question
You are creating a style sheet to format your Web pages. For the page background color, you enter the hexadecimal code FF0000. What color will the page background be when you apply this style?
Options
- ARed
- BBlue
- CBlack
- DGreen
How the community answered
(32 responses)- A91% (29)
- B3% (1)
- C6% (2)
Explanation
FF0000 maps to pure red because hexadecimal color codes follow the RGB format (RRGGBB), where the first two digits represent red, the middle two represent green, and the last two represent blue. FF is the maximum value (255 in decimal), so FF0000 means full red, zero green, zero blue - producing a bright red.
The distractors correspond to different hex codes: Blue (B) would be 0000FF, Black (C) would be 000000 (all channels off), and Green (D) would be 00FF00.
Memory tip: Think "Rich Grass is Blue" - the three pairs go in R-G-B order, left to right. Whichever pair is FF while the others are 00 tells you the pure color: first pair = Red, middle = Green, last = Blue.
Topics
Community Discussion
No community discussion yet for this question.