Period and implantation blood

mel

My period is due in about 4 days and today I started spotting some pinkish brownish blood, I took a blood pregnancy test on Monday, could that be implantation blood or spotting from my period ?