Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a solid usability reason why inverse (light-on-dark) is better for anything with syntax highlighting, like terminals and code.

Many colors of the spectra have poor contrast with white when used in an emmisive light context, like your screen. Yellow on white is illegible because it lacks contrast. The range of distinguishable, saturated colors is much larger on a black background, and you can comfortably add a second palette of less-saturated (dimmed) colors without sacrificing legibility. Your range of choices on light backgrounds is far more limiting.

For situations where there are a large number of potential "highlights" which must be distinguishable, it makes sense to have access to a larger palette of color options.



I agree about the point you make about contrast and syntax hihglighting, but I disagree with your conclusion.

In my experience dark backgrounds with light text are more tiring on the eyes in long coding sessions. Text gets blurrier quicker than when using a lighter background. I came to this conclusion after years of using dark backgrounds, and having switched to light backgrounds.

Personally, I think the question should not be 'white background or black background', because IMO a light gray or blue background is even better. Borland was on to something with their C++ and Pascal IDE's ;-)


> In my experience dark backgrounds with light text are more tiring on the eyes in long coding sessions.

I completely disagree; my eyes tire looking at a light screen much more quickly. Sometimes I'll invert the colors late at night just to make things easier to read.

(Come to think of it, thanks for reminding me that I need to figure out how to get xcalib working with my external monitor, not just the laptop screen...)


> Text gets blurrier quicker than when using a lighter background.

Perhaps you need to get glasses. I've never had text go blurry on me, regardless of the colour theme or duration.


I can't read a white background unless I'm in a very bright room. Off whites are better for me. But personally I prefer light on dark. But it's a personal thing.

I rue the day the browser default background colour changed from being light grey to white.


You may want to lower your monitor's backlight level (if LCD) or brightness/contrast (if CRT).


Thanks - but it is pretty darn low already.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: