To dream of a rainbow represents harmonization. There are psychological, emotional, or situational corrections occurring. A symbol that can have both positive or negative consequences depending on the state of your mind and your life. Positively you may experience new confidence or find justice in some area of your life. Negatively, you may experience unpleasant situations or bad karma.
A rainbow is a sign that negativity in some manner is being confronted or fixed.