Skip to contents

The default fill colour of each field family in the document that cto_form_docx() produces. The values are Office theme tints, so the table looks native in Word and stays legible when printed in greyscale.

Usage

cto_docx_palette()

Value

A named character vector of hex colours.

Examples

cto_docx_palette()
#>           group          repeat            note            text         numeric 
#>       "#2F5496"       "#BF8F00"       "#F2F2F2"       "#FFFFFF"       "#E2EFDA" 
#>      select_one select_multiple        datetime             geo           media 
#>       "#DDEBF7"       "#BDD7EE"       "#E4DFEC"       "#DAEEF3"       "#FCE4D6" 
#>           other 
#>       "#FFFFFF" 

# Override a single family
cto_form_docx_palette <- cto_docx_palette()
cto_form_docx_palette["numeric"] <- "#FFF2CC"