# Colors

Upon grading the labs I noticed there is interest in adding color to the plots. I understand and appreciate the desire to make your figures more aesthetically pleasing. I have used colors to make the figures fit the overall style of whatever publication they are going to be used in. However, my general advice is to only use color when it adds value. For example, coloring bars or points based upon a quantitative variable is often very helpful. I generally ask myself this when adding color: "Does the addition of color enhance the interpretation of my data or is it distracting?

If you are to use color, choosing a color palette that uses color blind safe colors is important. Here is a article I found that provides a good introduction and principles: https://venngage.com/blog/color-blind-friendly-palette/

Additionally, there are palettes designed for different purposes (qualitative for quantitative variables). I have found [this] website a really useful resource for picking pallets. I also use Color Brewer very useful for picking colors. Many of the pallets are built into ggplot2 with the XXX_color_brewer function.

Some important references for data visualization more broadly (i.e. not limited to use of colors):