R Shiny is perfectly showing the output. But, while trying to print the shiny output from the Chrome or Internet Explorer, I am not getting the background colours in the print preview also the page saved as pdf did not show the background colours. I have also kept the option to "Show Background".
library(shiny)
ui <- fluidPage(
h2("Text Background colour YELLOW not showing in Print Preview",
style="background-color: yellow")
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
Below are the screenshot:

