Question

Which number system is used to represent colors in HTML and CSS?

A Binary. Correct Answer Incorrect Answer
B Decimal. Correct Answer Incorrect Answer
C Octal. Correct Answer Incorrect Answer
D Hexadecimal. Correct Answer Incorrect Answer

Solution

Hexadecimal is used to define the color code.

Practice Next

Relevant for Exams:

×
×