colorspace_plot: Generate a plot in alpha-beta colorspace for a palette

Description Usage Arguments Value

View source: R/swatches.R

Description

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.

Usage

1
colorspace_plot(palette, show_pures = TRUE)

Arguments

palette

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

Value

a ggplot2 plot with palette colors in alpha-beta space.


hypercompetent/xstitch documentation built on July 22, 2019, 10:11 p.m.