cr_view_contrast: Plot a Demo of User-Supplied Color Pair

Description Usage Arguments Value Examples

View source: R/contrast.R

Description

Plots text of one color on a background of another color, and vice versa. Used to visualise contrasts.

Usage

1
cr_view_contrast(col_1, col_2)

Arguments

col_1

Six-digit hex value preceded by '#', or a named color from colors.

col_2

Six-digit hex value preceded by '#', or a named color from colors.

Value

Character value or vector.

Examples

1
cr_view_contrast("yellow", "black")

matt-dray/coloratio documentation built on June 2, 2021, 6:42 a.m.