Hi Cibi,
Have you tried using the colortable function (
http://www.exelisvis.com/docs/COLORTA...)? I think this may be what you are looking for, and here is an example of how to use it. It will return an array of RGB vectors for colors depending on the number of colors that you want. I hope this helps!
IDL> colortable(39, ncolors = 7)
0 68 0 0 135 255 255
0 0 161 255 255 131 255
0 204 255 110 0 0 255