Computer Science for IGCSE & O level - Data Representation (Section 8 - No. 41)

How is the green component typically represented in an HTML color code?
The first two hexadecimal digits.
The middle two hexadecimal digits.
The last two hexadecimal digits.
It is not directly represented in the code.

Explanation

The green component is represented by the middle two digits in an HTML color code (#RRGGBB).

Comments (0)

Advertisement