Add terminal background color fallback

This change hopefully fixes terminal background color issues by falling
back to more tolerable background colors when running under a 256 color
terminal (see #2).