quick_complement_color | R Documentation |
Quick color complement function
quick_complement_color(
x,
space = c("hls", "hcl"),
preset = "ryb",
do_plot = FALSE,
...
)
character
vector of colors
Other jam color functions:
assign_numeric_colors()
,
design2colors()
,
df_to_numcolors()
,
mean_hue()
,
print_color_list()
x <- "dodgerblue";
jamba::showColors(list(x=x,
`quick_complement_color(x)`=quick_complement_color(x),
`colorjam::color_complement(x, preset="ryb")`=colorjam::color_complement(x, preset="ryb")))
x <- rainbow_hcl(10);
jamba::showColors(list(x=x,
`quick_complement_color(x)`=quick_complement_color(x),
`colorjam::color_complement(x, preset="ryb")`=colorjam::color_complement(x, preset="ryb")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.