Mrs. Black, Mrs. Green and Mrs. Gray are in the library. Mrs. Black noticed that the colors of thither 3 hats were the same as their 3 names, but no one was wearing a hat that matched the color of her name. When she told the others this, the woman wearing the green hat told her to be quiet. Which women was wearing the black hat?