Plot of the original input bivariate palette and simulations of color vision deficiencies - deuteranopia, protanopia, and tritanopia.

palette_bivariate_plot(x, severity = 1)

Arguments

x

A vector of hexadecimal color descriptions

severity

Severity of the color vision defect, a number between 0 and 1

Value

A plot with the original input palette and simulations of color vision deficiencies - deuteranopia, protanopia, and tritanopia

See also

palette_plot

Examples

palette_bivariate_plot(x = rcartocolor::carto_pal(4, "Sunset"))

# Technically, "Sunset" from {rcartocolor} is not a bivariate palette,
# an example using an actual bivariate palette would be the following:
# palette_bivariate_plot(x = pals::brewer.seqseq1())