# do not apply anthing
style1 <- create_dxfs_style()
# change font color and background color
style2 <- create_dxfs_style(
font_color = wb_colour(hex = "FF9C0006"),
bgFill = wb_colour(hex = "FFFFC7CE")
)
# change font (type, size and color) and background
# the old default in openxlsx and openxlsx2 <= 0.3
style3 <- create_dxfs_style(
font_name = "Calibri",
font_size = 11,
font_color = wb_colour(hex = "FF9C0006"),
bgFill = wb_colour(hex = "FFFFC7CE")
)
## See package vignettes for further examples
Run the code above in your browser using DataLab