Description Usage Arguments Examples
View source: R/interpolate_colours.R
This function extend a colour palette by interpolation.
1 | interpolate_colours(inp_col, n_col)
|
inp_col |
Colours input as names or hex code |
n_col |
Number of output colours |
1 2 3 4 | set.seed(1234)
inp_col <- extract_colours("http://www.scoutlondon.com/blog/wp-content/uploads/2012/05/Pulp-Fiction.jpg")
out_col <- interpolate_colours(inp_col, n_col = 20)
display_colours(out_col)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.