InterviewSolution
Saved Bookmarks
| 1. |
Which of the following Color Format is a CSS colors can also be 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) RGB Color(b) RGBa Color(c) HSL Color(d) HSLa ColorThis question was addressed to me during a job interview.My question is taken from CSS Color Values topic in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT option is (a) RGB COLOR The best I can EXPLAIN: 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%. |
|