Skip to contents

Return function to interpolate a CorEvitas color palette

Usage

corevitas_pal(palette = "primary", reverse = FALSE, ...)

Arguments

palette

Character name of palette in corevitas_palettes: primary, secondary, neutrals, principal gradient, gradient #2, gradient #3

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments to pass to colorRampPalette()