Rescale the custom palette from 0-128.