What does the rainbow colored top of purple heart medal mean Most I see are a solid purple the one I found has a colored cloth pin?

Post-humaniously awarded