Why aren't plants black? 🌿

Why do people assume that the color of plants has something to do with photosynthesis? One doesn't seem to have any exclusive logical connection to the other. It seems like science is trying to take a reductionist approach to this, when it may have a semiotic dimension, such as conveying neutral information to the animal kingdom. Maybe plants are green so that animals can distinguish between them better, or so that flowers and vegetables and things like that are more visible so they can be pollenated and have their seeds eaten and pooped out by animals someplace else to procreate.

All plants and animals have pigment in them. But for example, elephants are not grey because that helps them find food. Coloration almost always tends to be for protection against something, not because it creates more food. It's like thinking that sheep are white because the sun is white. It just doesn't make any sense. People are assuming a logical connection here, probably due to a fallacy that they believe correlation somehow implies causation in this case.