tty-color-gray-shades

tty-color-gray-shades is a compiled Lisp function in `tty-colors.el'.

(tty-color-gray-shades &optional DISPLAY)

Return the number of gray colors supported by DISPLAY's terminal.
A color is considered gray if the 3 components of its RGB value are equal.