I do the same, except not thinking about black, but just focusing my attention of the visual artefacts that pop up when I have my eyes closed.
Just like meditation, but instead of focusing on a part of the body, I focus on the eyes and their visual artefacts when closed.