Description Usage Arguments Value
View source: R/colour_scales.R
Creates a list of colours for plotting. The list contains n shades of the original colour, increasing in brightness.
1 | get_gradient(n, colour = c(0, 69, 86))
|
n |
the number of colours needed |
colour |
the first colour of the gradient - numeric vector with three values representing red, blue and green (max 255) |
RGB colours
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.