display-grayscale-p

display-grayscale-p is a compiled Lisp function in `faces.el'.

(display-grayscale-p &optional DISPLAY)

Return non-nil if frames on DISPLAY can display shades of gray.
DISPLAY should be either a frame or a display name (a string).
If omitted or nil, that stands for the selected frame's display.