POSIX shell scripts to figure out if a terminal has a dark or light background. The Python module contained is part of a broader set of scripts.