I have an application that contours field values over a plane area. Normally, I use single colours for the contours (or isolines) with a numerical label for field value. I can differentiate between positive and negative or zero values by colour, line type or the label. Fine so far.
I can also draw colour bands between those contours. If I have a set number of bands n, then I can select the RGB values for each band assuming n is small. I run into difficulties when the number of bands is uneven between positive and negative field values, and in any case, keeping zero to a particular colour makes the choice of the colour bands even more difficult.
I’ve read extensively on the subject, and a particular thing that keeps coming up is the problem of red-green colour blindness. That makes the rainbow colours less useful than you would think
I suppose that I am looking for a set of formulae for the RGB components that I can subdivide into my n1 positive and *n2 *negative bands. The nearest I have come to this is taking white for zero, and varying amounts of (say) red and blue respectively in the positive and negative zones. I suspect that there is no simple answer.
The whole business is made more complicated by the need to use less saturated colours for printing, as especially when using an inkjet too much ink makes the paper wet.
I would be grateful for any helpful suggestions.
Eddie