Can create a continuous diverging color map starting from any two RGB colors, by converting to linear-RGB, then XYZ, then CIELAB, and finally into Msh, a polar-coordinate version of CIELAB. These color palettes are useful for visualizing data where both large low and high values are interesting, with a well-defined midpoint.
Submitted December 17, 2015 visualization color graphics published
DivergentColorMaps.m is an implementation of Kenneth Moreland's
'Diverging Color Maps for Scientific Visualization' written for the
scientific computing software Mathematica. See
for more information on the color maps. See
for the algorithms that are implemented here. Examples of usage can be found in the included notebook, as well as at
Submitted December 17, 2015 visualization color graphics superseded