This command will change the border colors of empires that share the same color (one border color will be changed, the other color will stay).
regenerate_border_colors