parseColor | R Documentation |
parseColor
converts a colour value specified in CSS to a hex based
colour code. Example supported input values/formats/named colours are:
#0080FF, rgb(0, 128, 255), rgba(0, 128, 255, 0.5) and red, green, etc.
parseColor(color)
color |
The colour to convert. |
The colour as a hex code, e.g. #FF00A0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.