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

View source: R/vis_surface_background.R

label.colFn.invR Documentation

A simple colormap function for binary colors.

Description

Useful for plotting labels.

Usage

label.colFn.inv(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


dfsp-spirit/fsbrain documentation built on Nov. 28, 2024, 10:29 a.m.