label.colFn: A simple colormap function for binary colors.

Description Usage Arguments Value

View source: R/vis_surface_background.R

Description

Useful for plotting labels.

Usage

1
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


fsbrain documentation built on Sept. 16, 2021, 5:07 p.m.