getBlueRedScale | R Documentation |
Gets a color scale from blue to red in hex format.
getBlueRedScale(n = 256, whiteLevel = 0.9)
n |
an integer specifying the amount of colors to split the scale in. |
whiteLevel |
a numeric specifying the maximum whiteness for red, green and blue. |
Returns a character vector containing colors in hex format.
Rehrauer, Hubert
Schmid, Peter
rbs = getBlueRedScale()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.