Function: color-gray-p
color-gray-p is a function defined in xfaces.c.
Signature
(color-gray-p COLOR &optional FRAME)
Documentation
Return non-nil if COLOR is a shade of gray (or white or black).
FRAME specifies the frame and thus the display for interpreting COLOR. If FRAME is nil or omitted, use the selected frame.
Probably introduced at or before Emacs version 21.1.
Source Code
// Defined in /usr/src/emacs/src/xfaces.c
{
CHECK_STRING (color);
return (face_color_gray_p (decode_any_frame (frame), SSDATA (color))
? Qt : Qnil);
}