1.

Which of the following is the Color Format that is a defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them.(a) HSLa Color(b) HSL Color(c) RGBa Color(d) RGB ColorThis question was posed to me by my school teacher while I was bunking the class.The origin of the question is Strings and Keywords topic in portion CSS Properties, Elements, Functions & Tables of CSS

Answer»

Correct ANSWER is (d) RGB Color

Easiest explanation: RGB color values can ALSO be defined USING percentages. The format is the same, except that the numbers are REPLACED by

percentage values between 0% and 100%.



Discussion

No Comment Found

Related InterviewSolutions