Change the color of all styles by a script

 From:  crydee

we have some iges files with the objects grouped into a couple of styles. Unfortunally all styles have the same color but we really need them in different colors. Because there are many styles it would be helpful to colorize them automatically with unique colors per style. Anyone with ideas?

Thanks in advance,