mean_color | R Documentation |
Average across colors
mean_color(x)
x |
color |
string
color_A <- "dodgerblue"
color_B <- "violet"
color_AB <- mean_color(c(color_A, color_B))
fills <- c(color_A,
color_AB,
color_B)
ggdiagram() +
ob_circle(x = c(0, 3, 6),
color = NA,
fill = fills)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.