Random Color in Presets

Hey Guys, I´m serching for a solution to random a color. I have a preset with firework 1D. With a setting color it´s a little bit tired for watching everytime the same color. So my idea is, to random the color of the firework every x seconds.
Has anybody a solution for me.
Greez Joe