10 ms·
Unless, you know, you want highly readable text. In which case there's nothing better than pure black, as your text color or as your background (but not both at
by dsr_ 14y ago
Unless, you know, you want highly readable text. In which case there's nothing better than pure black, as your text color or as your background (but not both at once, please.)
- powerslave12r 14y agoWhile the inverse of that (light text on dark) makes for a terrible reading experience, yet so many bloggers/sites do it. (Funny observation: I seem to prefer dark themes for coding Python, Ruby, C and light ones for Java)
- kstenerud 14y agoI've always preferred light on dark. Bottom line: You can't please everyone.
- gizmo686 14y agoSet the color to "foreground" and "background", then let the browser (or viewing program) color them based on user preference.
- darkstalker 14y agoMy text editor background is pure black. I can't stand writing code on a white background for a long time. Some people uses blue backgrounds that are a lot worse.
- lazyjones 14y agoThe reason why many people prefer black text on white is that they have an astigmatism: http://blog.tatham.oddie.com.au/2008/10/13/why-light-text-on-dark-background-is-a-bad-idea/ http://blog.tatham.oddie.com.au/2008/10/13/why-light-text-on... I have one on the left eye but preferred white on black before I switched to Windows (from Linux), where the system colors are black on white and thus I have mostly windows with black on white open (a few dark terminal windows are extremely distracting). On the other hand, I found white/colored text on blue (as modern in the 90's, e.g. Turbo Pascal and other DOS editors/IDEs) quite readable.
- mark-r 14y agoInteresting link, thanks. And I notice that the site uses #222 for the text color.
- NeilRShah 14y agoYour observation is interesting! Do you have any insight into why that is?
- vidarh 14y agoI always prefer light on dark, to the extent that my Hackernews, Reddit, Google and Gmail and a few others all have user styles applied to darken them. And my terminal is light text on dark background. Not to pure black, though, even though I had never thought about why I didn't go for as dark as possible. EDIT: Also, my window borders and Unity dock are also near black. Overall, the only white backgrounds you'll see on my desktop are the occasional "loud" website or apps that don't obey my theme settings.
- pizza 14y agoWhy is light on dark a bad reading experience? Is it just specific executions of it or in general?
- russell 14y agoI have aging eyes and find it harder to focus on white on black, also screen glare is more noticeable against a black background. It may be that because white on black is unnatural our eyes/brains have to do more work to interpret what they see.
- qu4z-2 14y agoI'm curious at your statement that white on black is unnatural.
- ianstormtaylor 14y agoActually even then on the screen you don't want #000 because it's more contrast than you need and starts to strain the eye. https://twitter.com/H_FJ/status/11800719859 https://twitter.com/H_FJ/status/11800719859
- sp332 14y agoHm? That tweet says that #000 looks better. Edit: OK I totally missed the first smaller tweet at the top. Banner blindness I guess.
- ianstormtaylor 14y agoNo, the first tweet says that a speaker at AEA recommended #333. And the second tweet says that H&FJ–an incredibly-highly respected type foundry—had been using an even lighter shade of #444 for all of the type specimens on their website. Then, finally, it says that 4 days after the iPad launched (that's when this tweet happened) H&FJ had been noticing that black text looks best on the iPad (as opposed to all previous knowledge). And we have no update on their final decision about iPad type color.
- ricardobeat 14y agoThat's probably not the case after the iPad 3. Lighter text doesn't always look good on iPad1/2 because of the short reading distance + standard res screen, aliasing is very visible.
- catshirt 14y agoyes but for what it's worth they're arguing against zeldman
- zcvosdfdgj 14y agohe might have a point. but I have a very hard time taking design advice from someone who put that distracting background on his page.
- TheCowboy 14y agoIt would be nice if he would use black for the text on his blog. Lighter-than-black on white can be painful on aging or strained eyes. This seems to be an unfortunate new color trend. The problem is worse when zooming in on the page doesn't work or is capped.
- inetsee 14y agoI've complained about this trend in the past, and it seems to be getting worse rather than better. I have the Evernote Clearly bookmarklet in my toolbar (it seems to work better than Readability) and I find myself using it more and more often. I don't mind not quite black text on a very (very) light grey background, but far too many websites just don't have enough contrast to be readable.
- scribblemacher 14y agoI agree. For reading, high contrast is exactly what I want. Despite all these trends in UX design, the best user interface is still a white piece of paper with blank ink.
- mistercow 14y agoI'm not sure you can use this particular blog as a good counterexample though. That text is damn-near 40% white, which is ridiculously light.
- seanmcdirmid 14y agoThe colors in the blog read fine to me. I have trouble with color bleeding when straight black is used on straight white. I would have gone with something a bit darker, say 60 or 70%, but definitely not 100% black.
- JoelSutherland 14y agoA subtle point this article makes is that pure black doesn't exist as displayed by your monitor. #000 is just the darkest value your monitor can display. Across monitors, contrast ratio can vary by over an order of magnitude. I'm not saying I don't prefer black, but I don't enjoy reading black text on a white background on an OLED phone in a dark room.
- hkmurakami 14y agoOut of curiosity: are there any objects that are "pure black"? (i.e. 100% absorption of the entire visible spectrum of light) My naive guess is that the only way to have pure "black" is an absence of light (ex: deep caves, deep sea, etc)
- MartinCron 14y agoFrom the outside, a black hole would be "pure black", but it's probably really bright on the inside.
- Retric 14y agoThere are actually a several effects that can make a 'black' hole rather bright from sufficient distance. Hawking radiation, gravitational lensing, frame-dragging, and an accretion disk can create some ridiculousness energetic objects.
- tsahyt 14y agoThere's not really an inside of a black hole anyway. The black hole it self is nothing but a tiny spot yet massive in weight. There's an inside the event horizon though. Commonly people like to refer to the size of the event horizon as the size of the black hole, so that might be the "inside". In that case it's hard to tell whether it's bright or not. My guess is that it's certainly brighter looking outside than towards the singularity, which should be black, because there's no light coming from that direction whatsoever, since it all gets swallowed. Then again I'm no physicist, so I'm not really qualified to make any claims here.
- pizza 14y agoFor even more readable text, white on black. Semantically, you want to focus on the content and make the user ignore the background. But if the background (i.e. white) is visually louder (sorry for the poor wording) than the text (blackness / nothingness), it's a bad reading experience.
- robertpateii 14y agoWhite on black can create a very difficulty reading experience. It may increase the contrast, but that's not the only factor in readability. I personally prefer light text on dark background, but never white on black. Silver an a dark blue works great for me. But font and font weight are also factors. Because of all those factors, black text on white background is more forgiving and more broadly expected. Which is why my websites are black on white but my vim color scheme is "darkblue".
- pizza 14y agoWhite/black is jarring, yeah. Light grey/dark grey is better most of the time. Other factors that affect readability I usually tweak are `max-width` and `font-size`, 35ems and at least 16px, respectively (except for microdata stuff which I usually keep between 12px-14px). In general, though, I prefer the content having visual focus, as opposed to the negative having focus (even though black text isn't usually described as the negative of the background).
- adestefan 14y agoI find that there is nothing worse than trying to read pure white on pure black.
- pizza 14y agoAgreed, pure white and black are jarring. Then again, black on white is, too.
- podperson 14y agoThe evidence is that black on white beats white on black.
- WiseWeasel 14y agoOr if you're not trying to imitate nature. Unlike paintings of real objects, computer interfaces don't necessarily have to look "natural", as long as they look good.
- ianstormtaylor 14y agoTrue! But "natural" is often what looks good because of years and years of evolution :p
- WiseWeasel 14y agoWell at least my interface will look natural to people born and raised on an interstellar space voyage, where high contrast is the norm, and soft, diffuse lighting unexpected... : P
- tripzilch 14y agoCalling it, the future of design, right here!
- crazygringo 14y agoNo, that's the whole point of the article! Pure black text on a pure white blackground is too much contrast, which is uncomfortable for the eye over a long period of time. It's bad for readability. Use dark gray on white, or black on light gray, but don't use pure black on pure white. It's too much. Remember, the contrast between white and black on computer monitors is greater than on the printed page, because computer-monitor white is brighter than a page usually. The printed page only achieves this level of high-contrast when you're in broad daylight, like on the beach. And of course, most people wear sunglasses in that case, because it's too much. (Of course, there are exceptions to every graphic design "rule", but avoiding pure black text on a pure white background is pretty standard one for webpages.)
- Splines 14y agoPlus some colors aren't readable on pure black. Dark blue or dark red, for instance, are very difficult to read on a pure black background. (I used to use a pure black background for my terminal windows and switched it to a dark gray for this reason).
- mark-r 14y agoI find too many web pages go the other way and use a light gray for the text. The text looks washed out. Too little contrast is as bad as too much.
- crazygringo 14y agoAbsolutely. Too much contrast is bad for long-term readability, but too little contrast is bad for short-term readability! Finding the right level of contrast is just as important as finding the right font size, the right width for your text column, the right typeface, etc...
- alexanderh 14y agoWhat we need is a javascript library that slowly lightens the text over time :P Starts off black and moves to lighter shades the longer you're reading the page. I'm only kidding, but it would be sorta interesting.
- rijoja 14y agoI guess it's more acceptable to use #000 for text because the curves in most fonts are rather thin. Text with a larger font will appear darker than text with a smaller font. Just as a thin line will appear bright next to a thicker line, even though they have the same color. The examples are not about the color of text, the focus lies on backgrounds and shadows. In fact most of the text in the pictures is white.
- mistercow 14y agoI have never seen light-on-dark done in a way that didn't hurt my eyes to read, but when it comes closest to being acceptable is when the light is not completely white and the dark is not completely black. I generally find that text is most easily readable when the background is very slightly darker than white, and the text is slightly lighter than black, and this has the added benefit of leaving you open to emphasize elements by increasing their contrast beyond that point. The main useful idea that I think this article gives is this: don't use up all of your dynamic range in one place.
- whalesalad 14y agoI can't recall the study, but recently it was determined #444 is a perfect color for body text.