You can set up to 255 different b/w background colors (same as any other r/g/b color combinations), but only in GUI mode (which interacts directly with the desktop).
In terminal i/o mode (= console), which uses curses, you only can set pre-defined terminfo colors (five in b/w), corresponding to the docu and same as in Clipper.
But how these terminfo colors are physically displayed depends on the used terminal and terminfo setting. Usually, curses supports ony two different b/w background colors in terminfo, see e.g.
https://stackoverflow.com/questions/42734416/how-to-set-colors-in-terminal-using-terminfo
Paul