invertLabelColor {aqp}R Documentation

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)

Arguments

colors

vector of colors

threshold

black | white threshold

Value

vector of label colors

Author(s)

D.E. Beaudette


[Package aqp version 1.31 Index]