Hero classes and hero weapons

How does a hero’s class affect imperial jewel and prismatic orb. Do they count as that color and gain magic bonus from that or are they counted as non colored and gain no magic boost from the class. Also would anyone have a good setup for the 5 colored weapons that works and what class you would use it with.

The multi colour weapons count as any colour.

Prismatic Orb with Priest class would be good. Spam the orb on Paladin and 1 shot everything. You would also be able to utilize the divine bonuses and have multiple air links (yellow).