1.

Which of the following Color Format are a 17 defined colors under CSS 2.1?(a) HSLa Color(b) Commonly defined named colors(c) System Color Names(d) Specificationdefined named colorsI had been asked this question in an online quiz.The query is from CSS Color Values topic in portion CSS Fundamentals, Colors and Styling of CSS

Answer» CORRECT option is (d) Specificationdefined named colors

Explanation: maroon (#800000) red (#ff0000)

orange (#ffA500) yellow (#ffff00)

olive (#808000) purple (#800080)

fuchsia (#ff00ff ) white (#ffffff)

lime (#00ff00) green (#008000)

navy (#000080) BLUE (#0000ff)

aqua (#00ffff) teal (#008080)

black (#000000) silver (#C0C0C0)

gray (#808080)

Other color keywords may be commonly used but are AD hoc in their definition.


Discussion

No Comment Found

Related InterviewSolutions