Slashdot Mirror


Best Color Scheme For Coding, Easiest On the Eyes?

Marzubus writes "I tend to do a lot of code editing in vim and sometimes get the 'burning eyes' or headaches. I have been trying to find a background / foreground combination for my terminal sessions which is easiest on the eyes but cannot seem to find any real data on this subject. Does anyone know of a study / data on this topic?"

102 of 763 comments (clear)

  1. Probably not colors by clang_jangle · · Score: 5, Informative

    I doubt that the colors will make half as much difference as the quality of your monitor, unless you've been using chartreuse on magenta or something. Not that I know a great deal about the technical details, but I have observed that many cheaper CRTs or LCDs seem to make my eyes hurt sooner than a more expensive one. Apple's monitors are excellent for this, BTW, but they do price them terribly high. These days I'd expect you can get something equivalent for less, though it won't be a $129 model. Also, in 2004 the same question was discussed at length here, probably at least some of that is still relevant.

    --
    Caveat Utilitor
    1. Re:Probably not colors by nikomen · · Score: 5, Informative

      I concur. A while ago I purchased a couple cheap LCDs. I noticed that the LCDs at my university were easier on my eyes than my home LCDs. I sold my LCDs to my parents who I knew wouldn't be on the computer for any long lengths of time. I bought a couple HP LCDs that were recommended to me and they make a world of difference. This isn't an ad for HP, just simply stating that cheaper LCDs probably cause some kind of eye strain compared to a little more pricey (yet not horribly expensive) LCDs.

    2. Re:Probably not colors by Bandman · · Score: 4, Informative

      With CRTs, refresh rate was a big deal, so that might have been part of it.

      If your monitor's refresh rate was equal to the ambiant lighting's refresh rate, you could almost guarantee a headache

    3. Re:Probably not colors by hansamurai · · Score: 5, Informative

      Great point, I have two LCDs at home, one is a six year old Envision monitor and then other is a three year old Samsung. The Samsung monitor looks worlds better and is much easier to look at for extended periods of time. It's one of those things I can't lay my finger on but it's definitely there.

    4. Re:Probably not colors by SQLGuru · · Score: 4, Informative

      Also, environmental factors. For example, I've been in various cubes over the years and the ones where there was a light fixture visible from my chair as I looked at my monitor caused fatigue faster than when the fixture was not visible (this includes when the fixture was behind me....basically visible in any direction from a sitting position at my desk). Also, for a while, they allowed us to dim the fixtures (turn off/remove one bulb) which helped too (not completely dark, but more cavelike).

      Other things you can do is to make sure the brightness and contrast are appropriate. Most people keep them too high (myself included).

      And of course, frequent "look away" breaks. I had an old NEC 21" CRT (heavy beast) that actually had a built in timer that you could set that would remind / force you to look away (the screen would go black except for the message). Easy enough to implement in software if you are so inclined.

      There's some good articles here: http://www.sangrea.net/ohs_dbase/colour-color.htm
      They are mostly focused on designing web pages, but the information is just as relevant for any computer image that someone will be starting at for any length of time.

      And of course, a different Slashdot question on the same subject: http://ask.slashdot.org/article.pl?sid=01/09/14/1516207&mode=thread&tid=99

      Layne

    5. Re:Probably not colors by intx13 · · Score: 4, Funny

      If your monitor's refresh rate was equal to the ambiant lighting's refresh rate, you could almost guarantee a headache

      Maybe you should stop programming in raves! Turn off the strobe lights - my light bulbs don't refresh!

    6. Re:Probably not colors by R2.0 · · Score: 2, Interesting

      There's a guy at work that still has his set to 60Hz; I can't look at it for more than 5 seconds but he swears he can't see any flicker.

      --
      "As God is my witness, I thought turkeys could fly." A. Carlson
    7. Re:Probably not colors by funfail · · Score: 4, Funny

      Seems you never worked in a fluorescent lit cubicle.

    8. Re:Probably not colors by maexio · · Score: 4, Informative

      I think it was determined that Green On Black was the ideal method back in the day (When color monitors / technology was too $$$ / unavailable)

      Or it could have something to do with our eye's ability to see various wavelengths of color. For instance, the same 'intensity' green laser is 8x more visible than a red laser. This wiki link:

      http://en.wikipedia.org/wiki/Visible_light

      shows the range of colours in wavelength form, while this one :

      http://en.wikipedia.org/wiki/Color_vision

      shows the nm of light that each type of receptor can see. If you see, the Green wavelength appears to be near the middle, so although ianad (I Am Not A Doctor), the green theory seems to hold up.

      Also, i heard / read it somewhere a long time ago (ie, why all the crummy dumb terms seem to be green on black)

    9. Re:Probably not colors by pgallenga · · Score: 2, Informative

      Talking about "look aways" (forced/suggested by hardware/software), I've lately been enlightened by an article on FSM ( http://www.freesoftwaremagazine.com/columns/workrave_combating_rsi_free_software_way ) about WorkRave ( http://www.workrave.org/ ), a tiny OSS utility that was created thinking of RSI, but can be configured for almost any need...

      I've installed it here in the company I work for, and now they all like it very much...

      Give it a try!
      P.

      --
      Paolo A. Gallenga System Administrator pgallenga@email.it
    10. Re:Probably not colors by RobertM1968 · · Score: 4, Insightful

      Actually, colors do make a difference... though I dont know enough to know which ones are better. Also, true flicker free lights help as well - even though LCDs are almost flicker free.

      I would guess the optimal colors would be determined by the color temp setting used on the LCDs. Personally, I prefer warmer lighting (warm white flicker free flourescents or warm white halogens), though the color temps on my monitors are pretty high.

      Possibly more important is light placing and intensity. Studies (on /. a long time ago, at the link above and elsewhere here; and on the web of course) shows that less light is easier on the eyes for coders and data entry people. It (if memory serves) helps reduce eye strain and distraction. Inotherwords, use enough light to see your workspace, illuminate your keyboard - and not much else. Upward facing lights (ie: "torch" lights, wall sconces, etc) help with this because they bring up the ambient light in the room without the eye-strain issues direct lighting cause for those who code or do data entry. To that, one would add task lighting appropriate to the job they are doing (like a desk lamp over their reading area where they browse their programming guide or stack of papers they are entering into the computer).

      Cheaper CRTs (or CRTs in general) have a flicker to them which can make one's eyes hurt. Cheaper LCDs sometimes have slower refresh and response rates that can cause a similar effect - contrary to some people's beliefs that an LCD is an LCD is an LCD. Also, if you compare a high quality LCD to a cheapo one, you can often notice the difference in quality - especially on text rendering... text is often "smoother" looking on the better one - which also helps reduce eye strain.

      Generally, for an LCD, one that (accurately) claims it is great for gaming - and has good pixel representation - is an ideal choice. It means it should have a very low response time, and good clarity and contrast. Skip CRTs... they may make pretty images - but as resolutions climb, LCDs beat them in text display.

      Keep in mind, much "eye" strain is due to data your mind is filling in and your eyes are trying to follow (or external visual distractions your mind or eyes are trying to absorb).

    11. Re:Probably not colors by tenco · · Score: 5, Funny

      Edison, is that you?

    12. Re:Probably not colors by spec8472 · · Score: 5, Informative

      It's quite possible that the old LCD display is a 6 bit (256k colours) panel, which to display colours which didn't fit exactly onto that colour space, flickers between two on either 'side'. It's called 'temporal dithering'.

      http://en.wikipedia.org/wiki/Dither#Applications

      Theoretically you shouldn't be able to notice this, but it's the same with low refresh rates on CRTs - some people can notice it directly, others indirectly through eyestrain.

    13. Re:Probably not colors by DrLang21 · · Score: 4, Funny

      Apparently you only use DC powered lights.

      --
      I see the glass as full with a FoS of 2.
    14. Re:Probably not colors by Jasin+Natael · · Score: 2, Informative

      The monitor does make a huge difference, and don't let anyone tell you otherwise. I've got a 24" iMac (early 2007, matte LCD) as my primary workstation, and the screen is beautiful. However, it is insanely bright. Even at the lowest brightness setting, it's still too bright for working with the blinds closed. I use a free program called Shades to cut the brightness in software.

      But the things you can do to get better coding performance are:

      • Calibrate your monitor as well as possible. This ensures that your whites and colors have (if not equal,) correlatable levels of percieved brightness.
      • Reduce the brightness. Put a sheet of super-bright white paper on a desk or table, so the room's light sources are all able to shine on it. White on your monitor shouldn't seem brighter than this.
      • Explore a Zenburn-like theme for your text editor. The theme I use is in a screenshot here
      --
      True science means that when you re-evaluate the evidence, you re-evaluate your faith.
    15. Re:Probably not colors by Bandman · · Score: 4, Interesting

      Back when I played FPS's, I would be able to see flickr on TV. People thought I was crazy, too.

    16. Re:Probably not colors by Bandman · · Score: 4, Funny

      weird. I meant flicker. Damn you flickr for corrupting my spelling!

    17. Re:Probably not colors by Skater · · Score: 3, Informative

      I'll third this. I have a decent Dell monitor at work, and I had an old 17" Viewsonic CRT at home that was annoying because it was slightly unfocused in the middle of the screen. Having a decent display at work only made it worse because I knew how good the picture could be.

      I was happy with the Dell at work, so based on that and the recommendations of a couple friends, I bought a Dell Ultrasharp 22" widescreen earlier this year, and I've been much happier with my home PC since.

      My only gripe is that both Dell LCDs I use have one dead pixel each.

    18. Re:Probably not colors by mysticgoat · · Score: 5, Insightful

      Not yet mentioned but often a problem are reflections.

      Turn the monitor off and look at the dark screen as if it were a mirror. If you can see anything recognizable, or there are definite fuzzy brighter areas, then reflection might be the culprit.

    19. Re:Probably not colors by penguin_dance · · Score: 4, Informative

      If you wear corrective lenses, make sure you get your eyes checked regularly for any changes. Also, I found it worth the price to get a pair of glasses suited for the distance I sit from the computer.

      You should also be taking breaks at least once an hour. And keep in mind that people blink less than normal when on the computer so make sure you are blinking. I find that a good quality, moisturizing eye drop can help.

      Also check the brightness and contrast settings on your monitor. You may need to dim things down if you work in an area that already has bright lighting.

      The Mayo clinic also has a good list of tips.

      --
      If you've never been modded as "flamebait" or "troll," you've never tried to argue a minority viewpoint here!
    20. Re:Probably not colors by electrosoccertux · · Score: 3, Interesting

      I don't even think quality of the monitor has anything to do with it either.

      Just turn up the contrast and turn down the brightness.

      If you have a funny color balance going on, turn down the blues in a custom color profile. This brings out the reds (relative to the blues) which will further enhance contrast (blue is a contrast destroying color; it is also right next to the hardest color men have detecting, violet).

      You can see this for yourself next time you're near some sunglasses. Try on some with yellow, orange, or pink lenses; and look far off into the distance. Particularly if you can look out of the store into a hazy area. Then try on some with blue or purple lenses. The contrast difference is night and day; the extra contrast from the yellow lenses helps your eyes distinguish objects from the grey haze. This is why shooters, skiers, and sometimes wind surfers will go for yellow or pink shades; and almost never blue.

    21. Re:Probably not colors by Pig+Hogger · · Score: 2, Interesting

      To those environmental factors, I would also add two items: proper hydration (don't go thirsty) and not dwelling too much on an empty stomach.

      As for colours, nowadays it's mostly very dark on very light, but back in the pre-GUI days, white on blue was pretty soothing (which is odd, given the higher energy of blue photons versus red...).

    22. Re:Probably not colors by ebh · · Score: 2, Funny

      It should be OK if you stay in the chill room.

    23. Re:Probably not colors by AKAImBatman · · Score: 4, Insightful

      A secondary factor may be the settings of the different computers you have the LCDs attached to - if (God forbid) you're using Windows systems, check that both have "Cleartype" enabled and that it has been tweaked for that particular monitor's arrangement of RGB on the screen. It really does make a difference.

      You know what works even better? Make the font bigger. The larger the glyphs are on the screen, the less your focusing system has to strain to clearly read the character.

    24. Re:Probably not colors by Mick+Malkemus · · Score: 5, Insightful

      You SOLD to your own parents? I can't imagine that. Has America become so materialistic that we sell things to our own parents now?

    25. Re:Probably not colors by SQLGuru · · Score: 3, Insightful

      Starving college student + parents who think the kid needs to sacrifice something instead of just giving them money = student sells stuff to parents. Parents just donate it to Goodwill if it isn't something they'd actually use. Tends to keep the kid from blowing the money on unimportant things.

      Layne

    26. Re:Probably not colors by squizzar · · Score: 2, Interesting

      I tend to find the instant on/off of them to be more startling. Turn signals (which are orange over here in blighty) look weird with LEDs because they flash on and off instantly, rather than fading away a little bit.

    27. Re:Probably not colors by In+hydraulis · · Score: 2, Informative

      I'm going to go out on a limb here and suggest that being a diode, an LED hooked to AC is passing current during only half of the wave cycle.

      Provided the magnitude of the applied voltage doesn't invoke a reverse breakdown of the diode (which would destroy it), the diode is effectively off half of the time.

    28. Re:Probably not colors by bugg · · Score: 2, Informative

      Unless wikipedia and every site I've found on google is wrong, P4 phosphors are white. Sure you don't mean P1?

      http://en.wikipedia.org/wiki/Monochrome_monitor

      --
      -bugg
    29. Re:Probably not colors by H0p313ss · · Score: 2, Funny

      Back when I had a CRT, I could see its flicker at 65 Hz, but almost no one else could see it. I think we Slashdotters and computer geeks have superhuman eyesight.

      The first rule of supergeekdom is we don't talk about supergeekdom.

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    30. Re:Probably not colors by radimvice · · Score: 4, Funny

      but back in the pre-GUI days, white on blue was pretty soothing

      ...ahh, I fondly remember those days, when seeing a soothing white-on-blue screen appear didn't yet cause me to instinctively start cursing and reach for the power switch...

    31. Re:Probably not colors by D+Ninja · · Score: 5, Funny

      I sell my old tech to my parents all the time. I like to teach them the value of money.

    32. Re:Probably not colors by dosius · · Score: 2, Insightful

      People wonder why the hell I need a 23 point font for IRC when I have 20/15 vision. I just say I want to keep it that way.

      -uso.

      --
      What you hear in the ear, preach from the rooftop Matthew 10.27b
    33. Re:Probably not colors by nmb3000 · · Score: 2, Insightful

      It seems to insist on applying such aggressive hinting to the fonts that they show up far too spindly and with distorted shapes. ...does anyone know how to do this on Windows?

      I highly recommend the ClearType Tuner. There's a web version, but the control panel applet is nicer I think because changes are immediately shown.

      I don't care for ClearType when on normal strength, but after fiddling with that tool I prefer it over having ClearType off. If you do use ClearType, you should also grab Consolas, a great monospaced font designed explicitly for ClearType.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    34. Re:Probably not colors by differentialman · · Score: 2, Funny

      some of us aren't willing to trade our extra screen space to alleviate massive headaches and temporary insanity

    35. Re:Probably not colors by n7ytd · · Score: 3, Interesting

      An optometrist once recommended to me the "20-20-20" rule: Every 20 minutes at the computer, look at something at least 20 feet away for at least 20 seconds.

    36. Re:Probably not colors by arth1 · · Score: 4, Interesting

      Yes. Here in the US, it's even common for people to sell presents they've been given.
      I gave someone an old computer because she needed one, and then she turned around and sold it. And then had the audacity to tell me with a smile how much she got.

      Back in the old world, this would be considered beyond rude, bordering on fraud, but "rude" is defined very differently over here. Greed isn't considered a bad word here where money always comes first, and if you give someone something instead of making a buck on it, you're considered a fool. So selling things to your parents would be par for course.

    37. Re:Probably not colors by Glog · · Score: 4, Interesting

      Alright, we have a lot people vouching for the superiority of "pricey" LCD screens - I doubt it's the price alone that eases the strain on the eyes. The real questions is - what is it about "pricier" models that makes them easier on the eyes - perhaps if we are able to isolate the one or two or five features that improve the user's experience (as far as eye-strain) we'd be better off when comparison shopping for LCD's. Any suggestions? I'd be interested since I am also in the market for a new monitor.

    38. Re:Probably not colors by PeterBrett · · Score: 2, Informative

      Also, environmental factors. For example, I've been in various cubes over the years and the ones where there was a light fixture visible from my chair as I looked at my monitor caused fatigue faster than when the fixture was not visible (this includes when the fixture was behind me....basically visible in any direction from a sitting position at my desk). Also, for a while, they allowed us to dim the fixtures (turn off/remove one bulb) which helped too (not completely dark, but more cavelike).

      For those of you in the UK: if you are experiencing a problem like this in the UK and your employer refuses to fix it properly (providing decent lighting with diffusers, for instance), they are violating workplace health and safety regulations and can be liable to large fines. Don't put up with it -- get it fixed.

    39. Re:Probably not colors by e2d2 · · Score: 2, Informative

      Where is the "old world"?

      You sound pretty jaded by American culture but just keep in mind that like most things in life, we are deeper than we appear on the surface. Not everyone in the US is a greedy selfish low life. But those few that are seem to make the most impact on people. I would never sell a gift and I was raised to appreciate a gift no matter the value. But yet I was raised in America. I'm not an oddity, I'm a common person. IMO you ran into the oddity, she sold your gift.

    40. Re:Probably not colors by arth1 · · Score: 2, Funny

      Where is the "old world"?

      A hop and a skip, a splash and a flip, across the pond. :-)

    41. Re:Probably not colors by eelke_klein · · Score: 2, Insightful

      Actually 6 bit panels with temporal dithering are something of the last couple of years. Older panels from before the response time craze are often fully 8-bit per channel.

      The problem is most often the use of an analog (VGA) connection instead if a digital (DVI-D) connection. As especially with cheaper videocards the analog signal is not completly stable most LCD-monitors contain filters to compensate this. However this still does result in a slightly blurred image or in worse cases slight flickering. Some very old S3 videocard at work cannot display a fully stable image on a LCD screen their signals are far to unstable which confuses the monitor.

      I also have seen some cheap panels where the backlight was flickering (some Acer models).

  2. Color Scheme Sampler by slifox · · Score: 5, Informative

    I've looked into this topic a few times in the past...

    Last time, I found a page that shows samples of hundreds of VIM color schemes:

    http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/index-pl.html

    I don't use VIM (I use JOE), but the color schemes are easy to convert manually

    Whats nice is that you can scan through a _lot_ of schemes very quickly, and easily pick out the ones that work very well.

    1. Re:Color Scheme Sampler by Anonymous Coward · · Score: 5, Interesting

      I read a study once that said that yellow text on a blue background was easiest on the eyes, and I've been using this for text-only frames in PowerPoints ever since. I used to get the occasional complaint that slides were unreadable, but I haven't since. I've noticed also that when looking at these slides for a while I don't get quite as much of the after-image effect as I do with white-on-black. Give it a try.

    2. Re:Color Scheme Sampler by Hognoxious · · Score: 4, Informative

      you can scan through a _lot_ of schemes very quickly, and easily pick out the ones that look pretty

      Fixed that for you.

      For future reference, aesthetics (particularly in the short term) != usability.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    3. Re:Color Scheme Sampler by poot_rootbeer · · Score: 4, Interesting

      Agreed. When working for any real length of time, I always go Green on Black (since long before "The Matrix" came out).

      Old-school and much easier on the eyes.

      If it works for you, great. But keep in mind, that color combination arose out of economic concerns, not usability ones. Using a green phosphor layer was the cheapest way to build a functional CRT display in the first few generations of computing, and probably still would be if economies of scale hadn't made RGB tricolor just as affordable.

  3. Zenburn by Anonymous Coward · · Score: 5, Informative

    Zenburn is a low-contrast colour scheme for low-light conditions. It is popular color scheme among programmers because it is very easy on the eyes.

    Legend says it was used by the ancients when they developed teh internets and our realm.

    * http://www.codinghorror.com/blog/archives/000682.html
    * http://slinky.imukuppi.org/zenburn/
    * http://www.vim.org/scripts/script.php?script_id=415
    * http://slinky.imukuppi.org/2006/10/31/just-some-alien-fruit-salad-to-keep-you-i n-the-zone/
    * http://termos.vemod.net/zenburn-for-konsole

    1. Re:Zenburn by edalytical · · Score: 2, Interesting

      This topic was discussed recently here on /. I find it pretty interesting. After spending a significant amount of time reading the comments and clicking links I decided Zenburn really was the best.

      I set up Xcode with the theme and I find it reduces eye strain. Now if I could only figure out how to get it to work with Aquamacs.

      --
      Win a signed Stephen Carpenter ESP Guitar from the Deftones: http://def-tag.com/?r=0008781
    2. Re:Zenburn by edmicman · · Score: 2

      Is this available in Visual Studio 6?

  4. Here is an answer... by Anonymous Coward · · Score: 3, Informative

    It is I, 1100101, and this was asked three months ago with a good discussion. I guess slashdot operates in quarterly cycles. :)

    Here is the previous discussion: http://science.slashdot.org/article.pl?sid=08/04/08/2213222

    As to not karma-whore, here was my response as a doc...
    http://slashdot.org/comments.pl?sid=515908&cid=23008272

  5. Green on Black by russlar · · Score: 2, Insightful

    I use green text on a black background, and it seems to help. A lot of it has to do with the quality and type of your monitor.

    --
    Anybody want my mod points?
    1. Re:Green on Black by okvol · · Score: 2, Funny

      Using green on black also helps to warp your brain to where you will think like old-style programmers. I've used several: Blue on light blue (C64 style), gold on black, purple on a pale blue, and more. You want some contrast, but not too much. And, chose colors that fit your personality. I remember someone who loved the "hot dog stand" colors in Windows 3.1!

      --
      cabg x3 is a life changing event...
  6. Black on Black by jhouserizer · · Score: 5, Funny

    A black foreground on a black background has always given me the least eye pain.

  7. Pink on Green by QuantumPion · · Score: 4, Funny

    Pink text on green background.

    This combination is so vibrant that it burns the code into your brain, allowing you to better visualize your program.

    That, or give you a seizure.

    1. Re:Pink on Green by syousef · · Score: 4, Funny

      Pink text on green background.

      Let me guess, you taught HTML for dummies courses using Hotdog and Netscape Navigator Gold in the mid to late 90s.

      --
      These posts express my own personal views, not those of my employer
    2. Re:Pink on Green by SQLGuru · · Score: 4, Funny

      Don't forget that he was a huge fan of flashing text to grab attention. And since you wanted people to see your whole page, it was all flashing.

      Layne

    3. Re:Pink on Green by Dachannien · · Score: 2, Funny

      Pink text on green background.

      Hey, stop ripping off my MySpace page!

  8. Black background, white or cyan text by syousef · · Score: 4, Insightful

    This comes up all the time.

    Personally I find the above best. I can cope with green or yellow text, but find white best, followed by cyan. This whole idea of the modern WYSIWYG desktop trying to emulate paper and thus having a white background is just stupid. Paper is a reflective medium. Screens emit and therefore looking at a white screen is going to give you the office worker's equivalent of snow blindness. Print preview should have a white background, and it should be an easy thing to switch it on for typing up a text document (for true WYSIWYG) but we really shouldn't be using it all day.

    --
    These posts express my own personal views, not those of my employer
    1. Re:Black background, white or cyan text by syousef · · Score: 2, Interesting

      Actually I have friends and family with dyslexia. Each person responds differently. They are actually procedures now to work out which colours work best for each person. The result is a perscription for glasses with coloured tinting. I know one person who learnt to read in her teens using these, and has now been a primary school teacher for some years (and a very good one at that). For whatever reason she struggles less with dyslexia now and no longer requires the glasses.

      Take a look here. Some nifty javascript if you hover your mouse over the background colours at the top of the page.
      http://www.dyslexia-test.com/color.html

      --
      These posts express my own personal views, not those of my employer
  9. Good luck by FluffyWithTeeth · · Score: 2, Insightful

    We seem to get this article every few months, and there's never any scientific data to look at.

    So, uh, enjoy your 400 posts of anecdotal evidence and personal opinion. Personally I reccomend pastel text on an ash grey background.

  10. Re:Green on Black - Yes by halcyon1234 · · Score: 2, Interesting

    I'm with the parent. Black background. I use Lime Green, with Lime Green for the cursor, and Yellow for selection. It's high contrast, easy on the eyes, and it makes it look like you're programming The Matrix. =)

  11. Text dark, background bright. by Ihlosi · · Score: 2, Informative

    This combination is the most relaxing for the eye. Also, illuminate the area around and behind the monitor.

    Why ? Depth-of-focus. Brightness will make the pupils contract, which increases the depth of focus and decreases the amount of regulating that the eye needs to do.

    Maybe you need to have your vision checked, too. Having a quarter of a diopter too much or too little is hardly noticable, but wil give you headaches in the long run.

  12. Match your environment by edelholz · · Score: 2, Insightful

    One thing you have to remember is that you're not just seeing your screen, but also the things around it (in case you don't own a 30" TFT...). So, personally I have found whatever theme resembles the colors and brightness levels of the area of my desktop (the table, the wall behind it, the amount of light etc.) works best for me, i.e. causes the least strain on my eyes. Which, as a consequence, also means that I'll at least adjust the brightness of my screen with changing daylight hours.
    So, this being /., go for a darkish theme matching the missing daylight in your basement.

  13. Re:Gentoo by mowall · · Score: 2, Funny

    The default vi colors on a fresh Gentoo install are absolutely beautiful

    Could you check what they are and post them please? I'd like to try it but don't have that kind of time.

  14. Dark Green on Yellow/beige by Harmonious+Botch · · Score: 3, Interesting

    A fir bit of informal research has been done by chessplayers on this subject. After decades of experimenting, the choice of chessboard color seems to have settled on dark green on yellow or beige.

    This makes sense when one considers that the eye sees colors best in the middle of the spectrum where yellow and green are; and sees worst at the ends where they fade into infrared and ultraviolet.

  15. Bias lighting? by Guanine · · Score: 4, Informative

    The few scientific studies I've found on readability indicate that there is no color scheme that significantly enhances readability -- I would think readability would only be part of the issue regarding the eye strain problem.

    So, what about making your own bias light for your monitor? That will _definitely_ reduce eye strain.

  16. Zenburn by DarkDust · · Score: 4, Informative

    I love Zenburn. I use it on all my machines now and at work.

    But there is one thing you should do in your .vimrc prior to setting :colorscheme zenburn, and that is forcing the use of 256 colors:

    :set t_Co=256

    Also I found that the search highlighting wasn't visible enough for my taste, so I tuned it. After :colorscheme zenburn I have:

    :hi search ctermbg=223 ctermfg=238
    :hi incsearch ctermbg=216 ctermfg=242

    And if you like to have a little more contrast, then insert the following before your :colorscheme zenburn:

    :let g:zenburn_high_Contrast = 1

    which together makes for this:

    :set t_Co=256
    :let g:zenburn_high_Contrast = 1
    :colorscheme zenburn
    :hi search ctermbg=223 ctermfg=238
    :hi incsearch ctermbg=216 ctermfg=242

  17. White on blue by huge · · Score: 3, Interesting

    Ages ago when I was using Borland IDEs I got used to the blue background with white text and I still prefer that over anything else.

    To be precise Borland default color scheme was yellow on blue, which I couldn't stand, but with white text it's actually pretty good.

    --
    -- Reality checks don't bounce.
  18. Re:Problem solved long ago by DrDitto · · Score: 2, Insightful

    Old terminal screens were green because of the technology. Not because they were concerned about eye strain back in the 60s.

  19. Yelow on Blue, look at the old monitor designs by Cassini2 · · Score: 4, Interesting

    The old color schemes were well researched. When people were paying $100,000's on their mainframes, they wanted monitors that worked well for their operators. The productivity of the mainframe depended on it. This resulted in many of the old monitors being amber on black or green on black rather than the easier to build white on black monitors.

    For color monitors, the white on blue and yellow on blue schemes are the best. Black on white isn't bad; it has the virtue of being high contrast. White on black is still one of the worst color schemes. I never got a good explanation of why black on white is good (think original Apple Mac), vs. white on black is bad (original IBM CGA).

    Resolution and refresh rate are also important. Generally, rendering the same number of characters at a higher resolution is easier on the eyes. Thus, the original IBM PC Hercules monochrome card is a much nicer screen to program on than the original IBM PC CGA video card. It wasn't until VGA that the color resolution on the IBM PC was as good as the monochrome resolution, and people started switching in a broad way to color only displays.

    Finally, look at purchasing a pair of glasses. Even if you have "borderline" vision, like I do, they may ease eye fatigue. At first, they will probably bother you, until you get used to using them.

    1. Re:Yelow on Blue, look at the old monitor designs by Ihlosi · · Score: 5, Informative
      I never got a good explanation of why black on white is good (think original Apple Mac), vs. white on black is bad (original IBM CGA).

      You'll get it now: Depth of focus. Bright-on-dark results in a darker screen overall than dark-on-bright. This means that your pupils will open wider (to let more light in), which results in a smaller depth of focus (optics 101, ask anyone whose hobby is photography). And this, in turn, means that your eye has to re-focus more often.

    2. Re:Yelow on Blue, look at the old monitor designs by andy19 · · Score: 2, Interesting

      Focusing only occurs when the distance between you and the subject changes, right? At least that's how it's done in photography. I don't know too many people who move back and forth much when sitting at a computer coding...unless, like mentioned above, you're coding in a rave.

    3. Re:Yelow on Blue, look at the old monitor designs by MrEd · · Score: 4, Insightful

      I've done some industrial control room display design, where the client still wants things to be easy for the operators. The consensus among human factors professionals is that a light gray background is best (similar to the slashdot color scheme around this comment box). Why?

      - To match the screen luminance to your surroundings. Monitors showing black backgrounds will more harshly reflect the ambient light, resulting in annoying glare (unless you work in a pitch black room). The lower the ambient light level in your workspace, the darker your gray.

      - To allow the greatest range of text colors with acceptable contrast. For example, try reading yellow on a white background. Using gray gives you the option to transmit a lot of color information while keeping an even contrast. The key, again, is to choose text colors that are not "pure" from the MSPaint palette, but instead are pastel-ized enough to have equivalent contrast on your grey background of choice.

      The combination of these two should result in a fairly even constrast throughout your workspace. The goal is to minimize the light correction your eye has to perform when you look from the screen to your surroundings, and when navigating around through different parts of your code.

      If there are elements of your work (like BUGBUG in code) that you want your color scheme to draw to your attention, a grey background also lets you choose a more saturated, salient color to really punch up the attention-grabbing factor.

      --

      Wah!

    4. Re:Yelow on Blue, look at the old monitor designs by Pig+Hogger · · Score: 2, Interesting

      Actually, "white" monitors weren't as easy to manufacture, because it involved a mix of various phosphors to re-create the white colour, whereas monochrome (green, amber) did not have this problem.

    5. Re:Yelow on Blue, look at the old monitor designs by mdfst13 · · Score: 3, Informative

      I don't know too many people who move back and forth much when sitting at a computer coding...unless, like mentioned above, you're coding in a rave.

      Yes, but you look at different parts of the screen, which are different distances from your eyes. Incidentally, wikipedia suggests that the term should be "depth of field" rather than "depth of focus". Depth of field refers to the amount of the image that is in focus without refocusing; depth of focus would be the distance between lens and retina.

    6. Re:Yelow on Blue, look at the old monitor designs by Bonobo_Unknown · · Score: 3, Funny

      I bop away like stevie wonder when I code

      --
      We don't believe in radical loony monotheistic religions from the middle east -- we're Christians.
    7. Re:Yelow on Blue, look at the old monitor designs by DeadCatX2 · · Score: 4, Insightful

      While quite insightful, I think that would only apply if the monitor was the primary source of ambient light. In a properly lit room, the pupil size should only be very loosely correlated with screen brightness.

      --
      :(){ :|:& };:
    8. Re:Yelow on Blue, look at the old monitor designs by Maltheus · · Score: 2, Insightful

      Actually, my understanding was that the cones receptive to blue colors are on the periphery of our retinas and that the reds and green cones (red and green mixing to max yellow) are more towards the center of the eye. This makes blues more suited to being background colors (probably evolving from our constant exposure to a blue sky) and yellow more suited to being a foreground color.

  20. Amber all the way! by jbarr · · Score: 2, Insightful

    I coded for over 10 years using amber DEC VT terminals, and my prescription on my glasses only changed marginally. And much of that coding was done in 132-column mode.

    The important thing to do is to periodically give your eyes a break. Take the time to stop looking at the screen and focus on something distant across the room, office, or out the window. Staring at anything long enough will give you a headache....

    --
    My mom always said, "Jim, you're 1 in a million." Given the current population, there are 7000 of me. God help us all!
  21. Dude. Just blink more. by sudog · · Score: 4, Insightful

    My eyes never burn no matter how many 16- and 24-hour sessions.

  22. Brightness more important than color scheme. by guidryp · · Score: 2, Informative

    Matching brightness to ambient lighting is much more important than color scheme (unless you are going nuts with red on blue or something). I have been working as a coder for 12+ years now with a lot of 14 hour+ days...

    I never had much problem with CRTs. I prefer white backgrounds (standard VIM with syntax highlighting) with the brightness toned down to near paper levels for easy viewing.

    Most of the bigger LCDs I have tried lack the range of brightness control as they fight for supremacy in the specification wars. I have purchased LCDs of all three types (VA/TN/IPS) and in sizes ranging from 17" to 30".

    Eye comfort has correlated most strongly with how low you can modulate the brightness. On most big panels this modulation is quite poor when they aim for 400-500 cd/m2 which is insanely bright and hurt my eyes instantly regardless of color scheme (bright on dark or dark on bright both hurt). Even when these beasts are at ZERO brightness they are still often over 200cd/m2 which is completely nuts in a normal home lighting. You next have to resort to using the blocking characteristic of the LCD panel to lower it further which results in contrast going down the drain. Or set up more lighting which seems like a waste in terms of energy if nothing else.

    After all my purchases I have ended up with lower brightness cheap TN panels. These modulate to the dim end very nicely and tend to have fairly clear screen anti-glare coatings for nice clean text with a paper in light level brightness achievable.

    I recommend something like the Benq G2400W with it's nice 250cd/m2 max brightness (and therefore very good lower light performance).

    YMMV.

  23. Flashing text is best... by clickety6 · · Score: 2, Funny

    ...it's only on the screen for half the time, thereby giving your eye the other half of the time to relax from reading.

    --
    ----------------------------------- My Other Sig Is Hilarious -----------------------------------
  24. Re:Mac OS X font is blurry... by GrahamCox · · Score: 2, Informative

    their idea of text smoothing is to apply Gaussian blur to it and smudge it a bit. They do not use advanced manipulation like clear type does

    LOL!! Incorrect. The Mac uses subpixel anti-aliasing just as ClearType does, but it uses a slightly different hinting algorithm. Of the two, the Apple way is probably better subjectively for most people. More info here: Font smoothing, anti-aliasing, and sub-pixel rendering and here: Texts Rasterization Exposures

  25. old-school chalkboard by Mr.+Slippery · · Score: 2, Interesting

    When I was a lad, there was a big push in the schools to replace old blackboards with dark green chalkboards. This was supposed to be easier on the eyes.

    I use this idea in my Emacs windows, and set a background of DarkSlateGray (47,79,79 or #2f4f4f in HTML). With Emacs syntax highlighting I find it best to leave the default foreground white.

    I also recommend the "Lucida Typewriter" font, bold, at a decently large size. Many people use fonts that are just too damn small and then wonder why they suffer eyestrain.

    I also wonder if larger monitors are contributing to eyestrain - more eye movement is needed. I have a 15" LCD, equivalent in size to a 17" CRT which was considered something of a luxury when I first got one. Many people would complain about it being too small - but I notice that my monitor is almost exactly the same size as my open copy of a random book, O'Reilly's "Web Services Essentials". I think there are good reasons why books evolved to the page size that they did.

    --
    Tom Swiss | the infamous tms | my blog
    You cannot wash away blood with blood
  26. Three rules by barracg8 · · Score: 5, Informative

    This comes up on /. every so often, and I'm summarizing here the advice from a few people who (to me at least) sounded knowledgeable about the topic last time it came up.

    1. Use a strongly contrasting color scheme - this is obvious, black on white is easier to read than orange on red.
    2. Match the background color to the environment - staring at a bright monitor in a dark room is like staring straight at a light bulb - and the reverse can be true too (you get a halo around the monitor burning into your retina). Green on black is probably a brilliant color scheme if you do all your coding in a basement only lit by the blinkenlights of a router, but in a well lit office may not be as good for your eyes.
    3. Limit color edges. Okay, this is where I'm going to paraphrase other people really badly, but here goes. Your eye has separate RGB color cones, and effectively has to match a set of separate red, green, and blue images together. For some people, you can start to see optical effects when there is a strong contract change in different channels - your eye doesn't line up the images correctly, causing a blurry shadow around objects. This is not necessarily visually all the pronounced, but causes eye strain.

    Based on this advice I've switched to blue on light beige (#0000C0 on #FFFFC0). It has a strong contrast in two channels, no change in the third, and suits my office (reasonably bright, but lit with non-natural light). So far, this is working well for me.

  27. Peanuts by pragma_x · · Score: 5, Interesting

    A little slash-trivia here:

    You can also notice the refresh of a CRT if you chew on something hard, like peanuts, while staring at the screen. The crushing action of your teeth vibrates your head just enough to interface with the screen's refresh rate, causing the picture to "bounce" and shear in your field of view.

    1. Re:Peanuts by Bemopolis · · Score: 4, Interesting

      Another way to see the refresh rate is to hold your index finger horizontally between the screen and your eyes and move it up and down. The refresh will essentially act as a strobe light, and you will see multiple images of your finger. If you get the cadence right and create stationary images, you can even calculate the refresh rate.

      Hey, what can I say — some people are bored nerds who are allergic to peanuts.

      --
      "I guess the moral of the story is, don't paint your airship with rocket fuel." -- Addison Bain
    2. Re:Peanuts by Rogerborg · · Score: 2, Funny

      DON'T DO IT; that's the Brown Note.

      --
      If you were blocking sigs, you wouldn't have to read this.
    3. Re:Peanuts by Snodgrass · · Score: 3, Funny

      I went on an on-site tech call once. The little company I worked for supplied the computers to the local school district.

      While I was there, the "head computer guy" kept yammering on about all the problems they'd been having with the computers, but I'd only found one with an actual hardware problem.

      Anyway, I was getting ready to leave and he started pointing at a monitor (CRT) and saying "look at this! See? This is what has been happening!" I looked at it, but couldn't see anything wrong.

      "Right there!" he said, pointing, "See how it's jiggling around?" It was then that I noticed the bag of Cheetos in his hand. I told him to stop chewing for a second and see if the problem went away.

      It did, and so did he. I left without seeing him again, I think he was a little embarrassed. :^)

    4. Re:Peanuts by binaryspiral · · Score: 2, Funny

      Funny you should mention "never seeing a CRT again"... I was just in the phone room with the Nortel PBX for our campus - hooked up to a terminal with a orange phosphor CRT monitor.

      To show you how green our school is, someone hand scrawled on the CRT's front bezel "Turn this off when you're leaving... this ain't no fancy shmancy Energy Star monitor" with a big arrow pointing at the toggle power switch.

  28. Big Screen, Big Font by RailGunSally · · Score: 2, Insightful
    >= 19" screen. >= 16pt font.

    Plus, the chicks will just assume...

  29. ClearType FTW by pragma_x · · Score: 2, Informative

    I can't stress the "ClearType" sub-pixel rendering enough. At work i switched from a CRT to an LCD and got eyestrain almost immediately afterwords. Enabling that feature caused the problem to go away just as fast.

    1. Re:ClearType FTW by iocat · · Score: 2, Insightful
      I love the idea of sub-pixel rendering for fonts, but in practice, to me, they make the screen blurry... and cause eye-strain. My solution was to turn OFF spr (on my mac and pc), and suddenly my LCD-induced eye-strain went away.

      So, the answer is clearly... do whatever works for you!

      --

      Dude, I think I can see my house from here.

    2. Re:ClearType FTW by Z34107 · · Score: 3, Informative

      Try this site if you're using XP.

      I didn't even know you could tune ClearType - but you can, and it makes ALL the DIFF uh rence... intheWORLD. Just like the right man in the wrong place...

      --
      DATABASE WOW WOW
    3. Re:ClearType FTW by LordMyren · · Score: 4, Interesting

      Apple Windows and Linux all have pretty awful sub pixel rendering. Ideally you want a solution that lets you tweak the size of a font infinitely: you should be able to make any word or any letter any size what-so-ever. To my knowledge none of the common sub-pixel rendering systems provide this level of fine grained control.

      The only good sub pixel rendering I've ever seen is well explained on Anti-Grain's Text Rendering page. This page explains how bad most sub-pixel rendering is, and how much better their open source method is.

    4. Re:ClearType FTW by Z34107 · · Score: 2, Informative

      So is responding to flamebait - but here goes. ActiveX is the same as add-ons, except the code is sandboxed and not just allowed to run natively at browser privileges.

      But more importantly, you missed the big link at the top of the page for the PowerToy for XP. No browser needed.

      At least you clicked the link, though.

      --
      DATABASE WOW WOW
  30. Try reverse video by hippo · · Score: 2, Interesting

    Most people are right handed but some are left handed. Most people prefer light background and others like me prefer dark. You may be the same. Unfortunately most of the web is pretty much hardcoded to have blinding white backgrounds so after years of slogging through style-sheets and app-defaults I gave up and used the sledghammer approach. I now run everything in a VNC server and use a hacked vncviewer to render the world in reverse video. I'm happy and the patch is here http://www.vnc.cz/pipermail/vnc-list/2006-January/053794.html. I'm thinking of moving to Xvfb with a hacked x11vnc as that might give a more up to date X-server and will work with Windows viewers.

  31. Re:In tune by led7 · · Score: 3, Interesting

    Also works with low and pedal tones on a brass (low brass pref) instrument. Makes the digits on a LED digital clock waver and bounce slowly in addition to seeing screen refresh.

  32. Orange on green by Skapare · · Score: 2, Interesting

    The color I have found that works best is orange on green. This color pair has to be tuned so that the level of green primary in the orange is equal to the level of green in the background. This ensures that the boundary edge between foreground and background colors is limited to a single color. With the contrast being in a single color, it can remain in sharp focus regardless of the color error of the lens in the eyes or corrective lenses many people use. While red on black would maintain the same sharpness, having an added green base color increases the illumination level, causing pupils to contract to a smaller opening, increasing depth of field and improving focus and visual sharpness. Adding some blue to the base color (approximately pink on dark cyan) can also work. Just be sure that the foreground color has as much green and blue as the background color.

    --
    now we need to go OSS in diesel cars
  33. Re:Maybe not a thing for cubicles.. by freemywrld · · Score: 2, Funny

    I'd be more worried about the fact that "things" are judging you...

  34. Re:Mac OS X font is blurry... by toddestan · · Score: 2, Insightful

    At least in Windows, you can turn off Cleartype. OSX on a CRT, on the other hand, is a big blurry mess. It's still a blurry mess on a LCD too, but that's just my opinion.

  35. Thanks. Insults always work to make your point. by mario_grgic · · Score: 2, Insightful

    but on the other hand Apple's font rendering looks worse than on Linux or even Java's on Mac OS X, and sadly Microsoft is out of their league.

    And Mac users that fervently deny there is a problem at all and will gladly bend over and take what ever Apple is giving them, and this will ensure Apple's font rendering stays like this.

    Sad, because the platform is nice otherwise.

    --
    As the island of our knowledge grows, so does the shore of our ignorance.