Bug 23250 - blue on dark is hard to read for the typical human being
Summary: blue on dark is hard to read for the typical human being
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils   
(Show other bugs)
Version: 6.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2001-01-03 21:23 UTC by charles
Modified: 2007-04-18 16:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-03 21:23:15 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description charles 2001-01-03 21:23:12 UTC
The DIR_COLORS file, installed in /etc by fileutils RPM packages includes
the following line:

  DIR 01;34	# directory

This means that directories in /bin/ls output will appear in bold blue over
whatever background color is set in the terminal.  Quite often that
background color happens to be black (such as in VGA text consoles) or
another dark color.  The way the human eye works and the way screens
and monitors are made to match it, blue only accounts for 11% of brightness
of white (while it's 59% for green and 30% for red).  See, e.g.,


for details.

This means that typical human beings (not just me) will have trouble
blue on black.  (All this to say that this is not a simple matter of
taste.)  The
implication of this is that if blue is to be chosen as a foreground color
DIR_COLORS or elsewhere, then a complementary background color has
to be specified too.  White and yellow are good choices.  Therefore, I
suggest the following line for DIR_COLORS:

  DIR 01;34;47	# directory

or maybe as a second choice:

  DIR 01;34;43	# directory

This would keep blue as a foreground color and cause the least surprise to
everybody that is used to it.  Those already using a white background will
not even see the change.  Those using a dark background will no longer
have to damage their eyes to read it.

Comment 1 Bernhard Rosenkraenzer 2001-01-04 14:55:28 UTC
This setting is pretty much the standard (it's the default from fileutils, and
[aside from Red Hat Linux] used at least on Slackware, Mandrake, and FreeBSD if
you turn on ls colorization).

Having just individual words appearing with a different background color looks
odd. Feel free to do this on systems you're maintaining, but we don't want to
diverge from the standard that far.

Note You need to log in before you can comment on or make changes to this bug.