I wonder what the real life ninjas would have thought had they seen a Teenage Mutant Ninja Turtles comic book? NINJA AD 1460-1650 tells the story of them in their heyday. No, they didn't live in the sewers, but they weren't afraid to go in there to get the job done. In fact, he says with tongue in cheek, there was a story of a ninja assassination where the hard to reach target sat down to relieve himself. Unknown to him, the ninja below him in the sewage was waiting to thrust up his sword!
Yes, the ninjas wore black. Yes, they were assassins and threw their shuriken throwing stars. No, they couldn't fly through the air, pass through walls, or walk on water. Well, they did and they didn't.
Back in those days the samurai were of the higher social class. They valued pride of honor. On the battlefield they often singled out worthy opponents who brought them glory if they took their head. Any type of subterfuge was distasteful and dishonorable to them. At the bottom of the social class were the poor and rogue warriors. They didn't care who they killed or how.
Like politicians throughout history, a Japanese daimyo would not want to use his best men to perform an action that was repulsive to them, such as assassination. Better to use an assassin, and claim deniability. The ninjas filled this need. They were beneath contempt but indispensable. In war time they provided intelligence and committed sabotage. They were the only real mercenaries used.
The ninjas were trained from childhood to use weapons, develop balance, and how to live off the land. At sixteen they were sent on their first mission. From then on, that was their life. One of the things they had in common with the samurai was no fear of death.
A ninja would wear black, white, or anything else for camouflage or to conceal his identity. He would often pose as a komuso when on a reconnaissance mission. A komuso was a traveling Zen priest who played a flute and wore a straw basket over his head. People would invite them into their house or castle to play and offer prayers. It was the ideal way to get around.
The ninjas had an array of remarkable tools. Their shuriken stars were deadly enough as it was, even without the poison. Their tools allowed them to float across water, scale walls, or dig through them. This apparent ease with which they penetrated defenses gave rise to myths of their supernatural powers, which they helped foster while in disguise.
Let me end here by saying that if you want to read a short but excellent book on the subject that is well illustrated, read this instead of the Teenage Mutant Ninja Turtles comic book.