Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RGB for color composition rather than primary hues

Why do computers use RGB (red, green, and blue) values for color composition rather than the primary hues, red, yellow, and blue?

like image 467
Paul Reiners Avatar asked Oct 23 '08 03:10

Paul Reiners


People also ask

Why do we use RGB instead of primary colors?

A student asked, “If the primary colors of the color wheel are Red, Yellow and Blue, why is web color measured in RGB (Red, Green Blue) color?” RGB is what monitors use for colors because monitors give off or “emit” light. The distinction here is that RGB is an additive color palette.

Is RGB The primary colors?

Red, green, and blue (RGB) are the primary colors of light. Cyan, magenta, yellow and black (CMYK) are the primary colors of printing. RGB color is used to display on your computer screen. RGB is called additive color.

What are the 3 primary colors RGB?

The RGB color model is an additive color model in which the red, green, and blue primary colors of light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green, and blue.

Can you make all colors with RGB?

By mixing light of these 3 base colors, you could create any color perception. But such a color set does not exist. RGB does a pretty good job of covering a large part of the color gamut, but not all (RGB fails at saturated cyan and yellow, for example).


5 Answers

The hues of magenta, yellow, and cyan are primary for subtractive combination (e.g. paints or inks) rather than additive combination such as light where red, green, and blue are primary.

Wikipedia has more detail on the whys and wherefores.

like image 155
Jeff Yates Avatar answered Nov 09 '22 06:11

Jeff Yates


Computers use the additive colour model, which involves adding together RGB to form white, and is the usual way of forming colours when using a light source.

Printers use subtractive color, normally using Cyan(C), Magenta(M), and Yellow(Y), and often Black(K). Abbreviated CMYK

Cyan is opposite to Red, Magenta is opposite to Green, and Yellow is opposite to Blue.

This is a really simple explanation of a complex issue, the guy that came up with additive colour was James Maxwell (yes, that one), so if you dig into the many articles about him, that may explain much better.

like image 41
seanb Avatar answered Nov 09 '22 04:11

seanb


Just for clarification, the primary colours you learn at school are incorrectly given as red, yellow & blue. In fact they are Cyan, Yellow & Magenta, just like your inkjet printer. As the previous posts state, Cyan, Yellow & Magenta are the subtractive prime colours; you see what the pigments reflect. Red, Green & Blue are the additive primary colours that CRTs, Plasmas & LCDs use.

like image 39
Mike Thompson Avatar answered Nov 09 '22 05:11

Mike Thompson


For efficiency: the RGB model is additive. For example, superimpose pure red and pure blue light, and you get magenta. It's also easy to build into monitors. If you take a magnifying glass and look at your monitor, you'll be able to see individual red, green and blue dots that vary in intensity to compose the colors needed. As ffpf mentioned, check out Wikipedia. Here's a link to the article on the RGB color model.

like image 20
Scottie T Avatar answered Nov 09 '22 04:11

Scottie T


Computer screens emit light to display pixels. Mixing different colours of light is called Additive colour. Additive colour uses red, green, and blue as primary colours.

Subtractive colour is how different colours of materials mix, such as paints. Subtractive colour uses red, yellow, and blue as primary colours.

How I think of it is that when light reflects off an object into your eyes, the object absorbs some of the colour, and reflects the rest to your eyes. So if an object's green, it means it's absorbing the red and the blue out of the white light. This is why mixing red, green, and blue light creates white light, but mixing red, yellow, and blue paint creates black (the mixed paint now absorbs all primary colours.) That is the reason for the difference between additive and subtractive light.

like image 25
Paige Ruten Avatar answered Nov 09 '22 06:11

Paige Ruten