Vidyalelo
CSS · Q15

Basic CSS

Programming · CSS · question 15

Q15

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()
Answer
C.
black()
D.
brightness()

Answer: Option B

Solution

Answer: Option B
Solution:
A decimal value between 0 and 1 or percentage up to 100% controls the extent of the gray effect.