changed method to find most common color instead of red