Computer Science for IGCSE & O level - Data Representation (Section 9 - No. 47)

Which of the following is most commonly used for defining colors in HTML?
Color names (e.g., red)
RGB values (e.g., rgb(255,0,0))
Hexadecimal color codes (e.g., #FF0000)
All of the above

Explanation

All options are valid methods for defining colors in HTML.

Comments (0)

Advertisement