Lookup table and color maps for scientific visualization.

Build your lookup table from predefined color maps ( rainbow blue to red, cool to warm and black body radiation) and set the number of colours. 
Define the boundaries of your data (max and min values) and then obtain the corresponding color from the colormap.