View source: R/scimesh_bridge.R
| color_to_rgba | R Documentation |
Converts an R color specification (hex string like "#FF0000", color name like "white", or "#FF0000FF") to a length-4 RGBA numeric vector with values in the range 0..1.
color_to_rgba(color)
color |
character string, any valid R color specification. |
numeric vector of length 4, RGBA values in 0..1 range.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.