add color compare method