The maximum number of colors the terminal can support. It is defined only after the call to start_color().
curses/COLORS
COLORS