text_colour: Get text colour

View source: R/plot.r

text_colourR Documentation

Get text colour

Description

Get the appropriate text colour for writing on a munsell colour.

Usage

text_colour(cols)

Arguments

cols

a character vector of munsell colours

Value

a vector of "black" or "white"


munsell documentation built on May 29, 2024, 7:29 a.m.