show_colour <- function(col) {
tibble::tibble(
x = 1,
y = 1
) %>%
ggplot2::ggplot(ggplot2::aes(x = x, y = y)) +
ggplot2::geom_point(colour = col, size = 50) +
ggplot2::theme_void()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.