In Hamlet's distraught mind, there is no gray area: Polonius prostitutes his daughter.
Hamlet is not in the room but it seems obvious from the following lines that he has overheard Polonius trying to use his daughter's charms to suit his underhanded purposes. In Act II, Polonius makes arrangements to use the alluring Ophelia to discover why Hamlet is behaving so curiously. Gertrude has been made a whore by Claudius, and Ophelia has been made a whore by her father. And if women are harlots, then they must have their procurers. Through Ophelia we witness Hamlet's evolution, or de-evolution into a man convinced that all women are whores that the women who seem most pure are inside black with corruption and sexual desire. Hamlet's feelings of rage against his mother can be directed toward Ophelia, who is, in his estimation, hiding her base nature behind a guise of impeccability, just as is Gertrude. The extent to which Hamlet feels betrayed by Gertrude is far more apparent because of Ophelia's presence. It appears that Ophelia herself is not as important as her representation of the dual nature of women in the play. She has the potential to become a tragic heroine - to overcome the adversities inflicted upon her - but she instead crumbles into insanity, becoming merely tragic. Of all the pivotal characters in Hamlet, Ophelia is the most static and one-dimensional. An introduction to Ophelia from Hamlet by William Shakespeare