I would like to rename the values in a legend without altering the custom colors that have already been set. Is there a way to set legend labels without using scale_color_manual
If you're willing to use a consistent color palette, then you could define this as:
mycolors <- c("red", "blue", "black", #ee4747, #fff382, #f1f6c8, #334d65, #263825)
Now, instead of
values = c("yellow", "black", "forestgreen")
use
values = mycolors