do_ColorPalette function

Generate color scales based on a value.