T
12

Why I switched from pure black to dark gray backgrounds after a coding session in a dark room

I was working on a dark mode app at 2am and my eyes started burning from the contrast of pure black with white text. A UI guy I'd never met looked at my screen and said 'you're ruining your retinas with that #000000.' Made me switch my base color the next day. Anyone else ditch true black for something softer?
3 comments

Log in to join the discussion

Log In
3 Comments
evand65
evand6510d ago
I read a study a while back that said pure black can actually cause more eye strain because your pupils dilate too much trying to adjust to the high contrast. Something about how the sharp edges of white text on black create a kind of ghosting effect. I switched to a dark charcoal like #1e1e1e after that and it made a real difference for late night coding. I also bumped up the brightness on my monitor a bit so the whites weren't as harsh. Honestly my eyes feel way less tired after a few hours now.
7
gonzalez.phoenix
oh man, @evand65 you just described my entire coding setup without even trying lmao. i used to be one of those people who swore by pure black everything because i thought it looked sleek and futuristic or something. turns out i was just torturing my eyeballs for no reason. i switched to a dark gray theme after my eyes started feeling like they were on fire after two hours of working in vs code. the ghosting thing you mentioned is real, i noticed it immediately when i switched to #2b2b2b or whatever it was. i also cranked up the monitor brightness a few notches and it made a huge difference, like my eyes stopped screaming at me. i used to think i was being hardcore by using the darkest setting, but honestly i was just being dumb.
4
evand65
evand656d ago
Sucks that you had to learn the hard way too. My eyes still remember that burning feeling after staring at pure black code blocks for too long. The ghosting thing was what got me - those white letters would just kinda float around when I blinked. Dark charcoal is way easier to live with. Feels like my eyes actually relax after a bit now instead of fighting the screen.
4