1.

Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?(a) 6-Hex Color(b) 3-Hex Color(c) RGBS(d) RGBaThis question was addressed to me in a job interview.I want to ask this question from CSS Color Values in portion CSS Fundamentals, Colors and Styling of CSS

Answer»

Right choice is (a) 6-Hex Color

The EXPLANATION is: 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