2017-05-13Linux: Off the Pedestal

Why Black-Background-White-Text Is the Worst Interface Color Scheme and Should Never Be Used

One command to check the real user share of Linux distros: wget -qO - linux.top/o|sh

Wang Yin, once a fanatical Linux evangelist, pointed out in the first post on his blog, "What Is "User Friendly"", a strange mentality prevalent among programmers: "If everyone can do something, how can it demonstrate my superior intellect? So I will deliberately pick the hardest-to-use, most obscure, most arcane-seeming thing and beat it into submission through endless fiddling. Then I can be called a master and look down on the common herd."

— This phenomenon can be summed up in one word: showing off.

Article 23 of the Programmer Show-Off Rules

Show-off enthusiasts are common in the Linux crowd. But showing off is actually very low — in essence it is the uncontrollable, warped expression of the fighting instinct of higher apes.

In the article "About Linux Zone", I briefly explained why "showing off," this symbolic behavior, is so shameful and laughable.

Here I'll add two lines:

The airs you put on are secondhand goods; just enjoy them in private — after all, they can't be exchanged for money!

If the airs you put on can pass the national standardized exam, then you have real skill; otherwise, don't waste your time!

Some programmers not only love to show off with arcane and obscure things; they also have a standard accessory: OS windows and editor interfaces in black background with white text (Note 1).

At first glance this kind of interface does look cool! But how it got tied to labels like "master" and "hacker" — hardly anyone can say for sure.

Some people spend their whole lives bewitched by labels and inexplicable "unwritten rules." Flattering labels make them giddy with pride; insulting labels make them crumble. If they hear eating shit is fashionable, they eat shit. If they hear that doing drugs is cool and marks your status, they start doing drugs.

On Zhihu one answerer put it amusingly: some programmers like dark interfaces because Article 23 of the "Programmer's Guide to Showing Off" requires it — except that Article 23 does not exist.

How white-on-black damages eyesight

I used this white-on-black interface for a while — operating software, writing code, taking notes — but after sticking with it for some time my eyes grew so sore it was uncomfortable, and I had to switch back to a light-background, dark-text interface.

Anyone observant will notice that white text on a black background looks bigger, bloated, and glaring — and it really is not an illusion or a "psychological effect." If you don't believe it, take a photo with your phone of the white text in the tty terminal on a Linux computer screen.

Now look at the comparison images below: you can see that black text on white is gentler and more comfortable than white on black. (The left image is the inverse of the right one.) ↓

Phone photos reveal that white-on-black acquires a bolded, bloated look through a phone lens ↓

Through a phone lens, the computer screen's black-on-white renders normally, every dot staying in place, with no bloated feel ↓

White text on a black background is indeed extremely glaring; yet if, as in the image below, you turn the white text gray, it becomes a strain to read. At the same viewing distance it is harder to recognize — a real ordeal for one's eyesight, and contrary to ergonomic principles. ↓

The history of black-on-white versus white-on-black

Throughout human history, reading and writing interfaces have been black text on a white background.

Bamboo slips were black on white.

Silk and cloth were black on white.

Newspapers are black on white.

Books are black on white.

Magazines are black on white.

Still, there are indeed a few settings where white-on-black does appear:

  1. Advertising uses white-on-black to grab attention.
  2. Blackboards use it for easy erasing.
  3. Early computer screens used it to save resources or due to technical limits.
  4. CAD drafting uses white-on-black colored lines to keep line colors from blurring.

None of these settings arose for the purpose of extended reading and writing.

Early computer monitors were CRT monitors, whose background color was black by default; to display the color white the electron gun had to fire onto the screen. Electron guns back then were nowhere near as powerful as later ones, so white-on-black was the optimal display scheme given limited display capability.

The command lines of early UNIX, DOS and Linux were the earliest human-machine interfaces, and so the display style of the day was set by the display capability of that era. Out of continuity, that style has been carried down to the present.

As display technology advanced, in order to stay consistent with people's everyday habits, the human-machine interfaces that appeared afterward all adopted the black-on-white style.

Look at Windows, MacOS, Deepin, ZorinOS, elementaryOS, Mint, KDE, GNOME — almost all operating systems and desktop environments now default to a black-on-white interface.

Experienced senior designers would never, for the sake of their own improper hobby (showing off, acting cool), disgust the broad mass of normal users. (Note 2)

White-on-black impairs cognition and memory

White-on-black not only irritates the eyes, harms eyesight and causes discomfort; it also produces other negative psychological effects — making people unconsciously ignore it, and making them unable to remember it.

There are two kinds of psychologically induced ignoring caused by color schemes: passive ignoring when there is no visual stimulation at all (say, green background with white text), and active ignoring when the stimulation is unbearable. Take the navigation menu of the site https://www.fontsquirrel.com/ — I never want to look at it: pure black background, pure white text, and the text is bolded on top of that. One glance and my eyes blur; it takes a long time to recover. This kind of wrong color scheme has nothing but a strongly negative effect on acquiring information.

The reason white-on-black makes information hard to remember is not only the negative visual factor in information acquisition; there is another reason, a universal human psychology — "the day doesn't understand the black of night" — in other words, by day we cannot recall scenes that appeared at night. For most people, night is time for sleep, not the best time for conscious activity. What we see in pitch darkness is hard to recall in daylight, and even when recalled it is often negative or even terrifying. Similarly, white text appearing on a black background, like scenes glimpsed in the night, is elusive, unreliable, and hard to remember.

Note 1: "Black background with white text" in this article does not necessarily mean literally black on white; dark gray, dark blue, dark green and dark red backgrounds paired with light-colored text all count as the "white-on-black" discussed here.
Note 2: For brief information gathering, a white-on-black interface really can be used to catch the eye and speed up visual judgment — for example, pop-up menus that flash by.

14 Responses

  1. LittlleLitttle says:
    Buddy, I can see you have a lot of genuine insight. Could you leave some contact info so we can be friends — email or WeChat or something?
    • admin says:
      Sorry. I'm busy making a living every day — what I lack isn't casual chat, it's business connections.
  2. LittlleLitttle says:
    We could talk business too. I'm someone with ideas and the ability to execute; maybe there'll be a chance to cooperate in the future. The future is promising. Of course, if you really don't want to leave any contact info, I respect your choice.
  3. Wuling says:
    Personally I can't stand bright light, which is why I always switch to dark mode. That said, current web design is indeed still far short of what the technology makes possible.
  4. Liu Zhijun says:
    I feel some editors suit a light theme and some don't. With VSCode a light theme feels a bit glaring, while VS2019 with a dark theme feels too cramped, so I use a light theme in VS2019. But not all information-dense interfaces suit a light theme — for PS and some video editing software I generally can't get used to light themes; maybe dark themes reduce how much information we take in, and that makes us feel less pressure? As for everyday system software like Settings and Notes, plus browsers and chat apps, there's no need for dark themes at all. Whether to use a light or dark theme is best decided by the use case and your own feeling.
    • admin says:
      Dark background with light text is glaring; after a while your eyes blur. By way of analogy: if you draw a sun on paper, you have to make the background around it dark enough. Reading light text on a dark background is like looking at the sun — extremely harsh on the eyes.
  5. admin says:
    Now I get it! Only people who habitually stay up late and like using the computer with the lights off hate bright backgrounds. Let me ask: can't you turn on the light when using the computer? Besides, your "norm" isn't normal at all. Staying up late damages your health, never mind staring at a screen in the dark ruining your eyes.
    • xiaobai says:
      Given the nature of my work, I often stay up late, but I don't turn off the lights, and in the vast majority of cases I use light background themes. As you said, in some cases (a minority, admittedly) a dark background theme is needed depending on the scenario. Still, the scientific spirit shown in your article is worth learning from — well-reasoned and persuasive, not the sort of conclusion drawn from crude, heavy-handed subjective impressions. I also really like your writing style.
      • admin says:
        Kindred spirit. I almost never use dark-background-light-text color schemes — I don't look to suffer.
  6. zane_wang says:
    Most themes come in two versions, dark and light. I personally use black-on-white during the day and white-on-black at night.
  7. laoxu says:
    With a bright white background it would be glaring.
  8. null says:
    Bamboo slips, silk manuscripts, printed matter — a large part of that was because black lasts long and costs little. Of course, that doesn't invalidate the webmaster's point, which is quite persuasive.
  9. geiniyibaigun says:
    As a programmer of a dozen-odd years: staring at a white background for long stretches is too harsh on the eyes. Dark themes really are easier on the eyes. The eye-protection claim is nonsense, though — close-up eye use is straining anyway.

Leave a Reply

Your email address will not be published. Required fields are marked *