this post was submitted on 15 Jul 2023
54 points (96.6% liked)

Explain Like I'm Five

14230 readers
75 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 1 year ago
MODERATORS
 

Im always confused by RGB. I learned that if you want orange, you mix red and yellow. If you want green, you mix blue and yellow, if you want purple, you mix red and blue.

How is it that computers need green and not yellow?

you are viewing a single comment's thread
view the rest of the comments
[–] SevenDigitCode@lemmy.world 29 points 1 year ago

Computer screens emit light, so when your computer shows a green LED next to a red LED, both green and red light wavelengths are sent to your eyes, and your brain interprets this as yellow. This is because your eyes only have red, green, and blue receptors in them, so sending green light mixed with red light is indistinguishable from pure yellow light.

Pigment, instead, works by absorbing light. The trick is that red, yellow, and blue are not the primary colors of light--it's instead Cyan, Magenta, and Yellow (which look similar to Red, Yellow, and Blue). Yellow pigment absorbs blue light, magenta pigment absorbs green light, and cyan pigment absorbs red light. Therefore, if you mix yellow and cyan pigments together, the resulting mixture absorbs the blue AND red light, so green is the only wavelength left that gets reflected back and picked up by your eyes.

I found a video on it that explained this well with a neat diagram: https://youtu.be/YtH9eXWuf3Y?t=44