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.
.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
Updated