Sanding a car painted surface?

I’ve being repairing my rear bumper has it had some horrible scratches and chips in it. I’ve being sanding it smooth. Just have a quick question when sanding, does it matter if some parts of surface have a darker colour than others parts you’ve being sanding? Or do all parts of the surface have to be the same...