Computer Science for IGCSE & O level - Data Representation (Section 15 - No. 14)
Which of the following accurately describes how HTML uses hexadecimal values for color?
By using a 6-digit code where the digits determine the red, green and blue components.
By using a 3-digit code where the digits represent the colour.
By using binary values
By using special notation to represent the shade of colour
Explanation
HTML uses 6-digit hexadecimal codes, each pair represents a colour (red, green, blue).
Comments (0)
