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

View source: R/vis_surface_background.R

label.colFnR 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


fsbrain documentation built on June 22, 2024, 11:53 a.m.