# <ColorOptions>

The ColorOptions element specifies options for handling background and text color. These options require version 3.1 or later of iSiloX and iSiloXC.

## Full element example

        <ColorOptions>
          <BackgroundColors         value="keep"/>
          <TextColors               value="keep"/>
        </ColorOptions>

## Sub-element summary

Tag | Type | Default | Description
--- | --- | --- | ---
`<BackgroundColors>` | value | keep | Whether to keep or ignore background colors
`<TextColors>` | value | keep | Whether to keep or ignore text colors

## Sub-element descriptions

### <BackgroundColors>

Description
Set the value attribute of the tag to one of the following values to specify whether to keep or ignore background colors:

- keep: Keep all background colors.
- ignore: Ignore all background colors.
- IgnoreBody: Ignore the background color specified for the entire body of a page. In this case, sub-blocks of content within a page retain their individual background colors.

The default background color is white.

Examples
This example specifies that all background colors should be kept.

      <BackgroundColors         value="keep"/>

This example specifies that all background colors should be ignored.

      <BackgroundColors         value="ignore"/>

This example specifies that only colors specified for the page body background should be ignored.

      <IgnoreColors             value="IgnoreBody"/>

### <TextColors>

Description
Set the value attribute of the tag to keep to keep all text colors or to ignore to ignore all text colors. The default text color is black.

Examples
This example specifies that all text colors should be kept.

      <TextColors               value="keep"/>

This example specifies that all text colors should be ignored.

      <TextColors               value="ignore"/>

©1999-2017 DC & Co. All rights reserved.