Computer Science for IGCSE & O level - Data Representation (Section 2 - No. 22)

In HTML color codes, how are the red, green, and blue components typically represented?
As single-digit hexadecimal numbers.
As two-digit hexadecimal numbers.
As decimal numbers.
As binary numbers.

Explanation

Each color component (red, green, blue) is represented by a two-digit hexadecimal number.

Comments (0)

Advertisement