label.colFn.inv: A simple colormap function for binary colors.
Description
Useful for plotting labels.
Usage
label.colFn.inv(n = 2L, col_a = "#228B22", col_b = "#FFFFFF")
Value
vector of 'n' RGB colorstrings
Arguments
- n
positive integer, the number of colors. Must be 1 or 2 for this function.
- col_a
color string, the foreground color
- col_b
color string, the background color