# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
background_color(ht) <- grey(.95)
background_color(ht)
ht <- huxtable(a = 1:3, b = 3:1)
set_background_color(ht, grey(.95))
set_background_color(ht, 1:2, 1, grey(.95))
set_background_color(ht, 1:2, 1:2, c(grey(.95), 'yellow'), byrow = TRUE)
set_background_color(ht, where(ht == 1), grey(.95))
# }
Run the code above in your browser using DataLab