Description Usage Arguments Author(s) See Also Examples
Evenly make steps
colours merging from the colour
from
to the colour to
, optionally via the
colour via
1 2 | colour.step(from = "black", to = "red", via = NULL,
steps = 10, alpha = 255)
|
from |
the first, or starting colour |
to |
the final colour |
via |
[optional] the middle colour. Leave as
|
steps |
numeric: how many colours do you want? |
alpha |
numeric in [0,255] controlling the opacity, from trasparent (0) to opaque (255), or in [0.0,1.0]. |
Mark Cowley, 2005-08-24
1 | colour.step(from="green", to="red", via="black", steps=11)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.