Compare colours before comparing numbers. Test for all comparisons.