Color choices for graphs?


#1

I’m looking into presenting som model structures using graphs. Below is an example of a first attempt:
image

My problem is related to choice of colors for ease of readability:

  1. Is there some guideline for best choice of line colors to distinguish lines?
  2. Is there some guideline for best choice of fill colors to distinguish filled areas?
  3. Is there some guideline for best choice of fill colors so that text in filled areas is easily readable?

Part of the problem is related to the fact that colors that are easy to distinguish on screen, may be difficult to distinguish on printed paper, and vice versa.

I seem to recall to have seen a Julia function where one can specify the number of colors that are needed, and then the function returns a set of colors that are best distinguishable??


#2

Colors.distinguishable_colors
I think the color suggestions are the same for 1,2 and 3.
check e.g. the qualitative color palettes from https://github.com/timothyrenner/ColorBrewer.jl


#3

Thanks!