Self-ordering dynamics of ultracold atoms in multicolored cavity fields