Is there any macro available to apply random color to the model?

I need to color my model with random colors.  Is there any specific code to choose random color?

Thanks

SolidworksApi macros