You can use the Materials Paintbrush to apply a different color or material to an electrical element.
To apply a color or material to an electrical element:
Display your model in 3D, and make sure the electrical element is visible in the view.
Select Edit
> Materials Paintbrush, or click the Materials Paintbrush button
on any tabbed toolbar.
In the catalog panel, select the color or material you want to apply. You can find an assortment of colors in the Paint category.
Click on the electrical element. The color or material is applied immediately.
Right-click and select Finish.