This sounds like an entopic phenomenon due to you seeing your own blood vessel architecture. Varied colors can be a normal transient phenomenon that occures with eye close. You may also be seeing intraocular floaters from degenerated intraocular jelly in the eye.
recommend observation and if concern or persistence would get an eye exam with a dilated exam of the retina and eye jelly (aka vitreous)
please his accept button, if I can help futher let me know
well the entopic phenomenon is just that a phemomenon and its the retina relaying information to the brain from shadows generated by the vessels in you retina. I think a good fully dilated eye exam would make you feel comfortable and put this issue to rest.
Well with that information you should look at ocular associated migraine that is notorious for color changes, vision changes. Also stress can cause central serous chorioretinopahty in which fluid for unknown reason accumulates under the retina. I would recommend a full eye exam with the symptoms you are describing.