Multiple choice technology web technology

How many numerical characters are in a hex color code?

  1. 5

  2. 6

  3. 4

  4. 7

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Hexadecimal color codes use exactly 6 hex digits (0-9, A-F) in the format #RRGGBB. Each pair represents one color component: red (RR), green (GG), and blue (BB). This is the standard RGB color model notation used in HTML and CSS.