Fix #4419, improve random color ramp appearance and generate colors with better chance of uniqueness