Animation of many cubes


I have problem with my animation.

I have many small cubes and they are a part of shape.
I want to make animation in which my shape will fall apart.
This is the example:

But in this case there is one color text. In my case cubes haven’t got the same color. How can I make it?

You could add your cubes to a group and then use this group in the Render panel of the particle system.