Your retina and pupil is being squeezed so much that it is contracting all the màu sắc in the area and transfers it into your eye while bạn are rubbing them. This is what I found while searching it.
posted hơn một năm qua
I was told something along that line when I got this big floater - when I closed hoặc moved my eye suddenly, I would get this burst of colours. The doctor explained it as being caused bởi the shrinking of the eyeball. The same effect could also happen if bạn have something seriously wrong with the eye.