🌈 RGB Color
5th Grade 💻 Computers & the Internet
RGB stands for red, green and blue. On screens and in image files, every color is made by mixing these three colors of light, each with a number — usually from 0 to 255.
When you mix light (not paint!), the rules are different from what you know from art class: red plus green makes yellow, green plus blue makes cyan, and all three at full strength make white. Zero for all three is black — no light at all. The reason is that our eyes have three kinds of color-sensing cells, and each one responds mostly to one of these colors.
With 256 values for each of the three colors, there are 256 × 256 × 256 — more than 16 million combinations. Websites sometimes write colors as a six-character code in base 16, two characters for each color. Printers work the other way, by mixing inks that absorb light, so they use cyan, magenta, yellow and black.
For example
- In a drawing program, Harper picked 255 red, 255 green and 0 blue — and got bright yellow.
- On his website, Jackson typed the color code for white — the letter F six times — meaning 255 for each of the three colors.
📌 Remember: RGB: red + green + blue. All 0 = black, all 255 = white.
Quick quiz
What does RGB stand for?
What do you get from red and green light at full strength?
What color do you get when all three values are 255?