text_contrast {ezplot} | R Documentation |
text_contrast
Description
text_contrast
Usage
text_contrast(x)
Arguments
x |
Vector of colours. |
Value
Vector indicating whether black or white should be used for text overlayed on x.
Examples
text_contrast("#000000")
text_contrast("black")
[Package ezplot version 0.7.13 Index]