Rotation of several objects without joining

Dear Experts,

I would like to rotate 3 objects (2 texts and cube). The texts are attached (not joined) to the cube. They have different colors. If I join them they will have the same color. How to keep the same color and sync the rotation?
I would like to animate the project. So, it will be time-framed.

Thank you

if you join them they will keep their color. For your rotation, it depends on how they are supposed to rotate, maybe show some pictures?

test.blend1 (786.7 KB)
I want to rotate on Z (vertically)

you mean you want to rotate the whole thing (cube + letters) on the Z axis? You can join them with ctrl J, they will keep their color, or you can parent the 2 letters to the cube with ctrl P, or parent letters + cube to an empty. Then animate. Could you please be more specific on the problem you meet?

I was able to rotate after parenting 2 texts, and joining with the cube.

Thank you.