An eye-dropper tool can be used to select the exact color to match. Select the foreground color square and cover it using the paint bucket tool or brush tool. The clone stamp tool can also be used. Use the Alt+ key and select where you want the color to be filled and cover up the area holding down the mouse button.