Move color threshold into settings.py