Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

foregroundColor Resource

The foregroundColor resource specifies how the foreground is configured in a palette.

Setting 

Result 

White 

Foreground is set to white. 

Black 

Foreground is set to black. 

Dynamic (Default) 

Foreground is dynamically set to black or white, depending on the value of background. For instance, white letters on a yellow background are difficult to read, so the system chooses black.

If foregroundColor is set to either Black or White, the number of colors in the color set is reduced by one, and the foreground will not change in response to changes in the background color.

The default value for foregroundColor is Dynamic, except where the value of colorUse is B_W.