Global palette generator, sort colors by hue