If you do need to have an array filled with random colors, you can also do in a repeat x times event "append string ToString(Random(255)) + ";’ + ToString(Random(255)) + “;’ + ToString(Random(255)) to variable Colors”. Though like Gruk said, if you just need to set an object to a random color you can use that expression directly or use the random color extension.