Quick color complement function

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

Value

character vector of colors

See also

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