MSO_COLOR_TYPEΒΆ

Specifies the color specification scheme

Example:

from docx.enum.dml import MSO_COLOR_TYPE

assert font.color.type == MSO_COLOR_TYPE.THEME

RGB
Color is specified by an RGBColor value.
THEME
Color is one of the preset theme colors.
AUTO
Color is determined automatically be the application.

Previous topic

Enumerations

Next topic

MSO_THEME_COLOR_INDEX

Useful Links