text_contrast | R Documentation |
text_contrast
text_contrast(x)
x |
Vector of colours. |
Vector indicating whether black or white should be used for text overlayed on x.
text_contrast("#000000")
text_contrast("black")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.