The xwininfo utility queries information about a window on an X server. When run with the -root option (i.e., xwininfo -root), it reports details about the root window, including a 'Depth:' line that indicates the current color depth (in bits) of the X Server's display. None of the other listed items are valid standard commands or methods for retrieving this information — /etc/X11 is a configuration directory, not a data source for runtime color depth, and xcd, xcdepth, and xcolordepth are not real utilities.
Community Discussion