display-color-p
display-color-p is a compiled Lisp function in `faces.el
'.
(display-color-p &optional DISPLAY)
Return t if DISPLAY supports color.
The optional argument DISPLAY specifies which display to ask about.
DISPLAY should be either a frame or a display name (a string).
If omitted or nil, that stands for the selected frame's display.