Friendly nameplates class color:
/script C_CVar.SetCVar("nameplateShowFriendlyClassColor", 1);
Enemy nameplate class color:
/script C_CVar.SetCVar("nameplateShowClassColor", 1);
Blizzard intends to add options for this in the UI but may not have done so yet.
2 Likes