Why does rgb use green




















To be honest it is hard to ask certain questions, in particularly publicly. I know we say that there are no stupid questions, but we still do perceive many questions as stupid. And nobody likes to feel stupid. And frankly, feeling stupid is not something that bothers me that much anymore, missing out on conversations and learning does however bother me. So my stupid questions are back, and back to stay. Me going RGB. With Red, Green and Blue hair.

I was explaining the primary colors to a 4-year-old and another programmer mentioned RGB. And it got me thinking. Let me explain. Back in the physical world we have the primary colors. The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support.

Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

At additive colors, the more you add, the brighter, because they are emiting elements. This is why the day light is more-or-less white, since the Sun is emitting in almost all the visible wavelength spectrum. At the other hand, with substractive colors the more you put the darker, because they are reflecting elements. Although there may be an infinite number of color systems, they are not all equally useful, practical, or effective.

For instance, I am free to create a color system where I define light blue, medium blue, and violet as my primary colors. Even though I am free to define my primary colors as such, this color system is not very useful in general because no amount of mixing of these primary colors will produce red, orange, yellow, etc.

Therefore, we should make a distinction between a color system and an effective color system. The effectiveness of a color system is best measured as the number of different colors that can be created by mixing the primary colors of the system.

This set of colors is called the "color gamut" of the system. A color system with a large gamut is more able to effectively represent a wide variety of images containing different colors. The most effective color systems are those that closely match the physical workings of the human eye, since it is ultimately the human eye which experiences the color. The human eye contains a curved array of light-sensing cells shaped like little cones and rods. Colored light is detected by the cone cells.

The cone cells come in three varieties: red-detecting, green-detecting, and blue-detecting. They are so named because the red cone cells mostly detect red light, the green cone cells mostly detect green light, and the blue cone cells mostly detect blue light. Note that even though a red cone cell predominantly detects the color red, it can also detect a little bit of some other colors. Therefore, even though humans do not have yellow cone cells, we can still see yellow light when it triggers a red cone cell and a green cone cell.

In this way, humans have a built-in color decoding mechanism which enables us to experience millions of colors, although we only have vision cells that predominantly see red, green, and blue. It should be obvious at this point that the most effective color systems are ones that closely match the human eye, i.

There is a slight complication because there are really two main ways to create a light beam. We can either create the light directly using light sources or we can reflect white light off of a material that absorbs certain colors.

A system that creates light directly is called an "additive" color system since the colors from the different light sources add together to give the final beam of light. Examples of additive color systems are computer screens.



0コメント

  • 1000 / 1000