View source: R/utilities-figures.R
esqlabsColors | R Documentation |
Returns the list of colors extrapolated between the esqLABS colors blue, red, and green.
esqlabsColors(nrOfColors)
nrOfColors |
Positive integer defining the number of colors to be generated. |
For nrOfColors
== 1, the esqLABS-blue is returned
For nrOfColors
== 2, the esqLABS-blue and green are returned
For nrOfColors
== 3, the esqLABS-blue, red, and green are returned
For nrOfColors
> 3, the three esqLABS colors are fixed, and the remaining
colors are extrapolated from blue to red to green. If nrOfColors
is uneven,
the blue-to-red section becomes one color more than the red-to-green section.
In this implementation, blue-to-green is not considered.
A list of colors as HEX values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.