View source: R/extractGradient.R
extract_gradient | R Documentation |
Function to extract a gradient of colours as hex codes
extract_gradient(palette, n = 5)
palette |
Gradient palette name as a string, provides the start and end colours of the gradient. |
n |
Number of colours required in created gradient, as an integer. Defaults to 5. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.