powered by
text_contrast
text_contrast(x)
Vector indicating whether black or white should be used for text overlayed on x.
Vector of colours.
text_contrast("#000000") text_contrast("black")
Run the code above in your browser using DataLab