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

Explain Like I'm Five

14235 readers
91 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
[–] AFKBRBChocolate@lemmy.world 5 points 1 year ago

White light has all the different colors in it - that's why a prism or water drops can make a rainbow by making the different colors come out at slightly different angles. When you have, say, red paint, it's reflecting the red light and absorbing all the rest. Same for any other color. So when you mix paint, you're mixing stuff that absorbs different parts of the light, the more different ones you're mixing in the more you're absorbing. Mix all the colors and you get a dark grey going on black because it's absorbing most of the light.

But with computers, you're not mixing things that absorb light, you're mixing the light itself. If you mix all the colors of light together, you get white (like doing the reverse of making a rainbow). So the formulas for making colors are kind of inverted from mixing paint.