The colour code of a food is not an indicator of whether a food is good or bad.
It simply implies the food is dense in calories
There are many nutrient dense foods that might be categorised as Red Foods and many nutrient hollow foods that might be categorised as Blue foods
Good or bad is decided by a lot of context and goal for which the food is being eaten