label.colFn {fsbrain} | R Documentation |
A simple colormap function for binary colors.
Description
Useful for plotting labels.
Usage
label.colFn(n = 2L, col_a = "#228B22", col_b = "#FFFFFF")
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 |
Value
vector of 'n' RGB colorstrings
[Package fsbrain version 0.5.5 Index]