As far as I know, there’s a part of your brain in charge of detecting light and colours and how they change. It is in the visual cortex of your brain (this bit is at the back of your head). So if you banged that you might see strange colours for a bit (or even “black out”). I wouldn’t advise banging your head too much though!
Comments