1.

Which of the following is the Color Format that is a CSS’s six-digit hexadecimal format as color defined in (X)HTML?(a) Specification defined named colors(b) System Color Names(c) 6-Hex Color(d) 3-Hex ColorThe question was posed to me during a job interview.My question comes from Strings and Keywords topic in chapter CSS Properties, Elements, Functions & Tables of CSS

Answer»

The correct answer is (c) 6-Hex Color

To explain: CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML. The format specifies color as #rrggbb, where rr is the AMOUNT of red, gg the amount of GREEN, and bb the amount of BLUE, all specified in a hexadecimal VALUE RANGING from 00 to FF.



Discussion

No Comment Found

Related InterviewSolutions