Screen Text Colors


How Colors Are Used

The Terminal Color configuration value determines if Webulator/400 will emulate a color or monochrome display. Regardless of the choice, you have control over the color(s) used when presenting screen data.

Setting the Text Color for Monochrome Displays

When emulating a monochrome display, Webulator/400 will allow you to define one color to use for all 5250 output fields. This is done by performing the following steps:

  1. Run the Change Webulator/400 Configuration (CHGWBLCFG) command with the name of your current Web Server/400 master configuration file.
  2. Select the desired Webulator/400 directory entry.
  3. Change the Monochrome Color Conversion field to 000000.

If this entry is not set, Webulator/400 will not set the text color and will allow the browser to determine the color to use based on its own configuration values.

Setting the Text Colors for Color Displays

When emulating a color display, Webulator/400 will allow you to define the colors to use for the following 5250 color attributes:

Assume that you wish to change the color Green to its brightest value. This is done by performing the following steps:

  1. Run the Change Webulator/400 Configuration (CHGWBLCFG) command with the name of your current Web Server/400 master configuration file.
  2. Select the desired Webulator/400 directory entry.
  3. Change the Green Color Conversion field to 00FF00.

Webulator/400 will even allow you to map a 5250 color attribute into a completely different color. For example, if you wanted to present all output fields with a color attribute of Green as the color Black, you would only have to change the above entry to 000000:

If a color entry is not set, Webulator/400 will use a default color attribute that closely represents the defined color on the AS/400.