These fours colors (RED, BLUE, GREEN, YELLOW) are four primary colors exists in nature, which can be combined to make a wide range of colors. Same ways, the Companies you’ve mentioned like Google and Microsoft are offering an extensive variety of products and services. So, the implication of these primary colors in their logo carries a message of their diversity and inclusivity.
The human mind is highly responsive to visual stimuli, and color is one of the major defining factors in that response. On both a conscious and subconscious level, colors convey meaning – not only in the natural world but also within the artifice of our culture. The use of color can bring multiple layers of meaning, from primitive responses based on millions of years of evolved instinct to the complex associations we make based on learned assumptions. Companies can use these responses to underline and accent their branding messages.
Psychologists have studied how people are affected by colors for years and found a strong correlation between colors and emotional responses, further driving home the point that choosing the right color is crucial in determining how your brand is viewed.