Returns the low/mid/high anchor colors for a diverging gradient. Most
palettes resolve at runtime from RColorBrewer. *_dual variants pick
mid-saturation Brewer positions whose endpoints clear non-text 3:1 on
both white and #1a1a1a dark backgrounds. coolwarm_aaa is a custom
built-in whose endpoints both clear AAA on white only.
Value
Named list with elements low, mid, high (hex codes for the
diverging anchors). To materialize an N-step gradient, pass the list to
a color interpolator (e.g., grDevices::colorRampPalette()).