Predefined set of colors in Rule


I’m trying to make nice Rule to simulate TV light by an RGB Bulb in my room. To do that, I decided to use predefined set of colors used randomly by the bulb. The color is commanded as decimal. What would be the best approach?

The command for bulb would be:

Color_Bulb_Command.sendCommand("start_cf [0, 2, \"1000, 1, xxx, 100, 1000, 1, yyy, 100\"]")

xxx, yyy - color as decimal number (eg. 12974591, or 7181566)

I’ve been thinking about a variable array with numbers or a Group of Number items.

Looking for suggestions and ideas.