Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAdam Maley
5,946 PointsJust curious on why Hexadecimal colors are a mixture of RGB and not Red,Yellow,Blue(primary colors)?
Just a random question I thought of.
3 Answers
Alexander Nortung
6,930 PointsThis is because you can create all colors from Red, Green and Blue. And in the early days of computers they used RGB.. if you look on your computer screen you will see it's made up of a lot of pixels (you might already know this), but these pixels is a set of three "Lamps", which can be turned up and down, so if i wanted Red Green and Blue to be "turned off" then i would write #000000 , where the first to decimals controls the first "lamp"(red) and so on. hope this helps your understanding of computers, screens etc. , just ask if you need to know more :)
Jesse Lawson
11,159 PointsThis is a guess but when we talk about mixing things like paint and the primary colors, those colors are created by absorbing light. (A blue flower absorbes all of the light except blue, yellow paint absorbs all of the light except yellow.) Computer screens and tv screens use red green and blue because they "produce" light. Mixing light vs mixing pigment.
Alexander Nortung
6,930 PointsYes that is right! what do you mean with mixing light vs mixing pigment
Jesse Lawson
11,159 Pointsa computer screen mixes the light red green and blue when mixing pigment we use red yellow and blue
Alexander Nortung
6,930 Pointsyes.. again it the graphic cards and monitors traditionally used RGB. and i think why they did it with RGB is that it becomes easier to control, because yellow and red would make orange and yellow and blue would make green. It becomes more "controlable" because of the way you add up in the colors. if we used yellow it would be a lot harder to get the green colors and the light blue colors on the monitor, this will make more sence of you see an RGB mixture of light, and try to visulize you replace the green with yellow, there will be much less space for green and light blue. i'm not sure if it makes sence to you, else you can try asking what you didn't understand :)
Adam Maley
5,946 PointsYeah I was used to RYB from pigments(art classes). Just seemed odd to me.