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"


cwickham/munsell documentation built on April 7, 2024, 7:04 p.m.