1.

Which of the following function converts an element’s color to a shade of gray, for use by the filter property?(a) shade()(b) grayscale()(c) black()(d) brightness()I got this question in examination.My question is taken from CSS Functions topic in chapter CSS Fundamentals, Colors and Styling of CSS

Answer»

Correct ANSWER is (b) grayscale()

To elaborate: A decimal value between 0 and 1 or PERCENTAGE up to 100% controls the extent of the gray EFFECT.



Discussion

No Comment Found

Related InterviewSolutions