fixed test_color.py (tests occasionally failed when they got unfortunate random numbers)