Description Usage Arguments Details Value Author(s) Examples
Generates a smooth colour gradient
1 | colGrad(x, darken = 1)
|
x |
Number of colours required |
darken |
Multiplication factor. Must be less than 1. Smaller the darker. |
Generates a smooth colour gradient Goes from red to red/green to green to green/blue to blue to blu/red
Returns vector of RGB colours
Wajid Jawaid
1 | gradientColors <- colGrad(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.