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()
Correct Answer: grayscale()
A decimal value between 0 and 1 or percentage up to 100% controls the extent of the gray effect.