While it is true that bees' vision is well suited to the task of identifying flowers by their colors, it is probable that flowers developed in response to the type of vision that bees have, rather than bees' vision developing in response to flower color
Many nonflowering plants rely on bees.