Shader efficent way would be not to use Blender ramp generator, but prepare ramp atlas outside Blender eg. In Photoshop
with ramp strip on top of each each other and have shader that pick random ramp strip by random
2 Likes