Returns the organisation's accent colours set by use_brand() (or the
brand_colors option), ready for manual scales or direct use. Without a
brand, it falls back to pal_sequential_blue so it always returns something
usable.
Arguments
- n
Number of colours wanted.
NULL(default) returns the full accent vector as-is; whennexceeds the available colours the palette is interpolated withgrDevices::colorRampPalette().
Details
Only the categorical brand accents live here. The semantic palettes (pal_rating, pal_nps) keep their red-amber-green vocabulary regardless of brand – recolouring "bad to good" with corporate accents would destroy the meaning the colours carry.
See also
use_brand(), scale_fill_brand().
Other brand:
brand_info(),
clear_brand(),
scale_fill_brand(),
use_brand()
