This function was originally written by Danielle Navarro for package rainbowr it takes a template .svg and edits its palette. In this case the template is the antifascist logo with a white background. The color of the flag is red by default but can be editted (bg.col). The function writes png and svg to disk and returns an svg
1 |
logo_width |
Numeric. Width (in pixels) of the image |
bg_col |
Color of background |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.