powered by
Generates markdown badges for palette CVD accessibility ratings. Useful for including in README or documentation.
print_cvd_badge(palette_name)
Character string with markdown badge code
Character string specifying the palette name
if (FALSE) { # Generate badge for StarryNight print_cvd_badge("StarryNight") # Generate badges for all palettes for (p in names(vangogh_palettes)) { cat(p, ": ") print_cvd_badge(p) } }
Run the code above in your browser using DataLab