I have been working with this for some time and can't find any reasonable explanation for why the names of my x and y axis are the correct color, but not the title.
p <- ggplot(movies, aes(x=budget, y=rating))+
geom_point(shape=1) +
theme(axis.title.x = element_text(colour = "#7F3D17"),
axis.title.y = element_text(colour = "#7F3D17"),
axis.title = element_text(colour = "#7F3D17"),
panel.background = element_rect(fill='#FFD197'),
panel.grid.major = element_blank(),
panel.grid.minor = element_blank(),
panel.border = element_blank()) +
labs(x="Budget (in millions)", y="Rating", title="Scatterplot of budget vs movies")
p
The scatterplot looks like this (notice that the title is still black):
If anyone could help I would greatly appreciate it.