In ggplot2 we can set colors by name or hex code. Is there a way to use rgb values ββin the same way? I was looking for documents, but the quick answer seems no. (The reason I would like to use rgb is because I have some colors that I am going to use for some graphs, and I have all of them in rgb format. I can get the hex from places like here but it would be great if I could just enter the values ββdirectly in ggplot() .
r rgb ggplot2
RobertMc
source share