unify type color