No Obito used ten tails Coffin Seal. Totally different Justsu ... as far as we know hagoromo already had a part of kaguyas power at birth him getting it wouldnt change it that muchBut it is what Obito used or a different form of it, and Hagoromo had gedo in him but his hair is red.
not sure what color his hir is when he was younger should find out in the anime a couple weeks from now