SetTextContrastColor {poliscidata}R Documentation

Sets contrasting color for text

Description

Sets color for text that effectively contrasts with the background color specified. Used by the Colors function.

Usage

SetTextContrastColor(color)

Arguments

color

A color

Value

Returns either "black" or "white"


[Package poliscidata version 2.3.0 Index]