On Fri, Nov 27, 2009 at 13:49, Marc Hoeppner <marc.hoeppner / molbio.su.se> wrote:
> What I don't know is how to write a method that, based on a numerical
> value, determines a color, i.e. from blue to red.
>
> So if for example the value '1' should be a deep blue and '100' a bright
> red - how would one do that? All color coding schemes allowed!

Hi,

what you are looking for is "color ramp" or "color gradient", there
are many sites with algorithms
how to compute colors between two or more given ones (for example from
blue to red).

J.