# RColorBrewer::brewer.pal() makes the color palettes
Default <- brewer.pal(5, "Set2")
types <- c("deutan", "protan", "tritan")
names(types) <-
c("Deuteronopia", "Protanopia", "Tritanopia")
color_table <- types |>
purrr::map(~ dichromat(Default, .x)) |>
as_tibble() |>
add_column(Default, .before = TRUE)
color_table