Most people see splashes of colors and flashes of light on a not-quite-jet-black background when their eyes are closed. It’s a phenomenon called phosphene. Not an expert but I believe it’s basically our brain and eyes don’t shut off when we close our eyes, so your visual system is still active. Fun fact, the name for the ‘not quiet jet black’ colour we see is Eigengrau.
Latest Answers