# RGB color

*noun*

say it: **“AR-JEE-BEE KUL-er”** **/ˌɑrdʒiˈbi ˈkʌlər/**

A color mixed from red, green and blue light, written like rgb(255 99 71), each amount from 0 (none) to 255 (full).

## What is an **RGB color**?

An **RGB color** mixes red, green and blue, each from 0 to 255. An optional fourth value sets transparency.

```css
.overlay { background: rgb(0 0 0 / 50%); }   /* black, half see-through */
.brand { color: rgb(0, 120, 212); }
```

## In a sentence

- “I wrote the playlist's highlight as an **RGB color**, rgb(230 57 70), so I could see how much red was in it.”

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/rgb-color
