invertLabelColor: Make High Contrast Label Colors
Description
Generate a vector of white or black label colors conditioned on a vector of colors to maximize label contrast.
Usage
invertLabelColor(colors, threshold = 0.65)
Value
vector of label colors