How do I change the color value of just one value in ggplot2’s scale_fill_brewer?
The package RColorBrewer contains the palettes and you can use the function brewer.pal to return a colour palette of your choice. For example, a sequential blue palette of 5 colours: library(RColorBrewer) my.cols <- brewer.pal(5, “Blues”) my.cols [1] “#EFF3FF” “#BDD7E7” “#6BAED6” “#3182BD” “#08519C” You can get a list of valid palette names in the ?brewer.pal help … Read more