What’s the problem? Somebody help me

How to set different colors for cylinder1 and clinder2,After the merger。