In a Battle, you can see a color coded system on the top left corner, that tells you which color dominates over which.

For example: The damage that a red attack creates on a green opponent is far greater, than the damage a green attack will create on a red opponent.