17.18.38 ST_HexColor

This simple type specifies that its contents contain one of the following:

  • A color values in RRGGBB format (ST_HexColorRGB)
  • The enumeration value auto (ST_HexColorAuto)

The contents of this measurement are interpreted based on the context of the parent XML element.

[Example: Consider a border color with value auto, as follows:

<w:bottom  w:color="auto"/>

This color therefore can be automatically be modified by a consumer as appropriate, for example, in order to ensure that the border can be distinguished against the page’s background color. end example]

This simple type is a union of the following types:

  • The ST_HexColorRGB simple type (22.9.2.5).
  • The ST_HexColorAuto simple type (17.18.39).

[Note: The W3C XML Schema definition of this simple type’s content model (ST_HexColor) is located in A.1. end note]

Last updated on