| jColors | R Documentation | 
Returns a list of different color palettes. Each palette is a data.frame. trove Palette found at http://colrd.com/palette/19308/ redToGray Palette found at http://colrd.com/palette/21894/
jColors(palette = NULL, colors = NULL, preview = FALSE)
palette | 
 A palette name. Options include:   | 
colors | 
 Which colors you want from the palette?  | 
preview | 
 Preview the colors in the palette?  | 
# Preview every color palette
jColors(preview = TRUE)
# Preview a single color palette
jColors(palette = "basic", preview = TRUE)
# Preview a few colors from a single color palette
jColors(palette = "basic", colors = c("red", "blue"), preview = TRUE)
# Get the colors from a whole palette as a vector
jColors(palette = "basic")
# Get only select colors from a palette as a vector
jColors(palette = "basic", colors = c("red", "blue"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.