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

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

cr_view_contrast("yellow", "black")