View source: R/FlowFieldBackgrounds.R
palette_sampler | R Documentation |
Takes a color palette in the form of a list, selects a background color and separates it from the rest of the palette
palette_sampler(palette)
palette |
a list of colors; an example is shown below |
a list with the background color first and all other colors following
greyscale <- c( "black" = "#000000", "white" = "#ffffff", "gray" = "#808080", "britishgray" = "#797979", "charcoal" = "#36454f" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.