Saving custom color palettes to a variable, then using them in a ggplot chart
saving the palette
palette <- c(‘#d2848c”, “#fa807s”, “#ee9a00”, “#e0ffff”)
using it in a chart
barplot(<data>, col = palette)
Saving custom color palettes to a variable, then using them in a ggplot chart
saving the palette
palette <- c(‘#d2848c”, “#fa807s”, “#ee9a00”, “#e0ffff”)
using it in a chart
barplot(<data>, col = palette)