Description Usage Arguments Details Value Author(s) Examples
This function transforms a standard color (e.g. "red") into an transparent RGB-color (i.e. alpha-blend<1).
1 |
col |
Color (numeric or character) |
alpha |
Degree of transparency (0,1) |
locate |
Choose colour (with mouse) |
This only works for certain graphics devices (Cairo-X11 (x11 as of R>=2.7), quartz, pdf, ...).
A character vector with elements of 7 or 9 characters, '"\#"' followed by the red, blue, green and optionally alpha values in hexadecimal (after rescaling to '0 ... 255').
Klaus K. Holst
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.