change type color