colorspace_plot | R Documentation |
The resulting plot will be a 2-D projection onto the HSV/HSL chromaticity plane. See https://en.wikipedia.org/wiki/HSL_and_HSV#Hue_and_chroma for more information.
colorspace_plot(color_vec, show_pures = TRUE)
color_vec |
a character vector containing colors as either hex values (starting with #) or R colors |
show_pures |
a logical value indicating whether or not to plot points for pure colors |
a ggplot2 plot with palette colors in alpha-beta space.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.