Simplify getting color based on material type.