Skip to content

Customize a Color Scheme

Color schemes translate color names requested by client applications into red, green, and blue (RGB) values. If you are using a client that explicitly references a color name (for example, "rosybrown") that is not in the default color scheme, you will need to customize the session's color scheme to include the name.

For some client applications, you can determine which colors are required by examining the command line that starts the application. For example, the following command starts an xterm with a gray2 foreground and a cyan2 background:

/usr/bin/X11/xterm -fn 6x13 -sb -ls -d %IP#% -fg gray2 -bg cyan2 &

For other clients, an error message that references the missing color is displayed when the client fails to start. In the following example, the leaf application cannot start because the color rosybrown is missing.

Can't allocate named color rosybrown 
leaf: Can't create window

To customize a color scheme

  1. Using X Manager, click Tools > Color Schemes, and select a scheme from which to make a customized copy, and then click Clone.


    Using Administrative Console, from the Domain Definitions side tab, under Color Schemes, select a scheme from which to make a customized copy, and then click Action > Clone.

  2. For the Scheme name, use the name provided, or enter your own.

  3. On Colors In Scheme, click the plus sign (+).

    A "new color" entry is added to the end of the color table.

  4. Click new color and enter the name of the color required by the client application.

  5. Click the RGB tab and set the RGB values for the new color.

  6. Click Close.

    The Color Schemes window closes.

  7. In each of the session definitions that you want to reference it, use the Display tab to select the new customized color scheme.


    On existing running sessions, color changes take effect only after restarting the session.

More information

Back to top