Generating color palette for Xmgrace

We provide some simple scripts that generate colormap for Xmgrace. Just copy paste the output in your grace file. Results can be viewed here.

HSV colormap and Gradients
Use RGB to HSV and reciprocal conversion. Gradients are much easier to derive in HSV format. One can use 'sin' functions instead of linear ones.

Lighter colors
useful if you want to fill object and curves with a lighter color: