background-color

The background color of the text. Will only set the color of the text itself. Margins will not be colored.

Compatibility

PDF supports arbitrary colors. Colors will be converted to a predefined 16 color pallette in DOCX.

Availability

Available in: Inline, Headers and Footers, Footnotes Area, Media, Footnotes, Paragraph, Figures, Figure Captions, Divider, Block, List, Table, Table Cell, Syntax Highlight, Technical, Table of Contents, Table of Contents Item

Type

Color

Available values

Value Description
Color A fixed background color
none Transparent background color.

Default value

rgb(0,0,0)

Inherited

Yes.

Example

inline-mark {
  font-color:       #ffffff
  background-color: #ff0000
}