quick_complement_color: Quick color complement function

quick_complement_colorR Documentation

Quick color complement function

Description

Quick color complement function

Usage

quick_complement_color(
  x,
  space = c("hls", "hcl"),
  preset = "ryb",
  do_plot = FALSE,
  ...
)

Value

character vector of colors

See Also

Other jam color functions: assign_numeric_colors(), design2colors(), df_to_numcolors(), mean_hue(), print_color_list()

Examples

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")))


jmw86069/platjam documentation built on Sept. 26, 2024, 3:31 p.m.