add color for different type