Parses/normalizes CSS color strings, and returns them as strings in
"#RRGGBBAA" format. Understands hex colors in 3, 4, 6,
and 8 digit forms,
hsla(), and color keywords.
CSS color strings
If true, invalid color strings will cause an error; if false,
then the result will contain
parseCssColors may return colors in
#RRGGBBAA format. Such
values are not understood by Internet Explorer, and must be converted to
rgba(red, green, blue, alpha) format to be safe for the web.
A vector of strings in
#RRGGBBAA format (the latter is
only used for colors whose alpha values are less than
invalid colors when
mustWork is false. Such strings are suitable for
use in plots, or parsing with
col2rgb() (be sure to pass
alpha = TRUE
to prevent the alpha channel from being discarded).
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.