# RGB Color Model

> How screens make color: red, green and blue light mixed together.

**Field:** Design  
**Category:** Visual Communication  
**Also known as:** RGB, Red Green Blue

## Think of it like

It is like shining three torches on a wall: red, green and blue. Where they meet, new colors appear.

## Definition

RGB is the way screens make color, by mixing red, green and blue light. Each of the three is set from 0 to 255. All three at 255 make white, and all at 0 make black. This is called additive color, because adding light makes it brighter. It can show about 16.7 million colors.

## Example

Lucy sets a button to rgb(0 120 255). Full blue, some green and no red give a bright sky blue.

## Example code

```css
color: rgb(255 0 0);     /* red */
color: rgb(255 255 255); /* white */
color: rgb(0 0 0);       /* black */
```

Three numbers from 0 to 255: red, green and blue light.

## Why it matters

Every color you see on a screen is RGB, so all screen design ends up in it.

## Common mistake

Sending an RGB file straight to a printer. Bright screen colors often print dull.

## Three principles

- **Light, not ink.** Red, green and blue mixed.
- **Adding makes white.** All three full is white.
- **For screens.** Print uses CMYK.

## Related terms

- [CMYK Color Model](https://learn.benibix.com/term/design/cmyk-color-model)
- [Hex Color Code](https://learn.benibix.com/term/design/hex-color-code)
- [HSL Color Model](https://learn.benibix.com/term/design/hsl-color-model)
- [Primary Colors](https://learn.benibix.com/term/design/primary-colors)
- [Color Space](https://learn.benibix.com/term/design/color-space)
- [Additive and Subtractive Color](https://learn.benibix.com/term/design/additive-and-subtractive-color)
- [OKLCH Color](https://learn.benibix.com/term/design/oklch)

## Told apart from

- [RGB vs CMYK](https://learn.benibix.com/compare/rgb-vs-cmyk): RGB mixes red, green and blue light, and it is how screens show color. CMYK mixes four inks on paper, and it is how printers show color. Bright screen colors can print dull.

## Taught in

- [RGB vs CMYK Color](https://learn.benibix.com/learn/design-visual-communication/rgb-vs-cmyk-color): Color and Images, 5/13

![Two sets of three overlapping circles. On the left, circles for red, green and blue light, which add up to white. On the right, circles for cyan, magenta and yellow ink, which add up to near black.](https://learn.benibix.com/diagrams/rgb-vs-cmyk.svg)

---

Source: https://learn.benibix.com/term/design/rgb-color-model
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
