Created
April 3, 2013 13:58
-
-
Save trcook/5301417 to your computer and use it in GitHub Desktop.
R colors for graphics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Display pretty color pallete: | |
| RColorBrewer::display.brewer.pal(5,"Set1") | |
| # Get the hex values for the color palette | |
| RColorBrewer::brewer.pal(5,"Set1") | |
| # set these to names that you can use later. Ex: | |
| red<-"#E41A1C" | |
| blue<-"#377EB8" | |
| green<- "#4DAF4A" | |
| purple<-"#984EA3" | |
| orange<-"#FF7F00" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment