Assigning colour from a different part in assembly

Hi Experts

In the attached snip, A and B are parts in an assembly. B is the mirror part of A . How can I assign the same colour of A to B ?