Xenoblade Chronicles: The Original, The Remake, The Legacy

I read somewhere that the colour each enemy is tagged with (none, blue, brown, yellow, red) not only indicates their level relative to you; the colour also indicates the stat buffs/debuffs you can expect them to have relative to you. So a yellow enemy is a few levels higher than you and also gets bonuses that stack the battle in its favour.