View source: R/helper_palette.R
| helper_palette | R Documentation | 
Color palette for the MDS
helper_palette(
  n,
  h = c(-100, 100),
  c. = c(60, 100),
  l = c(15, 95),
  power = c(2, 0.9),
  fixup = TRUE,
  gamma = NULL,
  alpha = 1,
  ...
)
n | 
 the number of colors (  | 
h | 
 hue value in the HCL or HSV color description, has to be in [0, 360] for HCL and in [0, 1] for HSV colors.  | 
c. | 
 chroma value in the HCL color description.  | 
l | 
 luminance value in the HCL color description.  | 
power | 
 control parameter determining how chroma and luminance should be increased (1 = linear, 2 = quadratic, etc.).  | 
fixup | 
 logical. Should the color be corrected to a valid RGB value before correction?  | 
gamma | 
 Deprecated.  | 
alpha | 
 numeric vector of values in the range   | 
... | 
 Other arguments passed to   | 
Generated with colorspace::choose_palette()
n hex codes from the color palette
Other helper functions: 
helper_checkrow(),
helper_varslist()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.