System Administration Guide
Appendix B, Using the system console and non-graphical displays

Changing the foreground and background colors

Changing the foreground and background colors

You can set both background and foreground colors with a single command:

setcolor red white

This results in red characters on a white background. If only one color is specified, the foreground color is changed. To change only the background color, use the -b option, as in the following:

setcolor -b red

This changes the background color to red.