Use Eyedropper to match colors on your slide - Microsoft Support

Use the new Eyedropper tool in PowerPoint to choose a color that matches a screen pixel and apply that color to a shape or other object.