Derive a legible colour by contrasting against the panel background
Source:R/scale-contrast.R
aes_colourpanel.RdMaps colour to a dark or light shade chosen for contrast against the
active theme's panel (or plot) background fill, evaluated after scale
training via ggplot2::after_scale(). Attaches no scale itself.
Value
A ggplot2 mapping object (as returned by ggplot2::aes()).