Returns the source spec, resolved colors, and WCAG metadata for a
discrete palette. For continuous palettes, see a11y_palette_div() and
a11y_palette_seq().
Examples
a11y_palette_info("aaa_5")
#> $name
#> [1] "aaa_5"
#>
#> $colors
#> [1] "#154E8A" "#7C2C5E" "#5C5108" "#8A3A1F" "#2D5C53"
#>
#> $source
#> [1] "literal"
#>
#> $colors
#> [1] "#154E8A" "#7C2C5E" "#5C5108" "#8A3A1F" "#2D5C53"
#>
#> $safe_on
#> [1] "white"
#>
#> $purpose
#> [1] "both"
#>
#> $notes
#> [1] "Custom AAA-on-white categorical (deep blue / purple / olive / terracotta / teal). All five > 7.5:1 on white. Distinguishability under color-vision differences not formally validated -- pair with shape or linetype for redundant encoding (WCAG 1.4.1)."
#>