Skip to content

Glossary: HTML & CSS Basics

rgb()

Also written: rgba, rgba()

A way to write a color with red, green and blue amounts from 0 to 255, such as `rgb(107 63 36)`, with an optional alpha value.

Where the book teaches it

Related terms

Hex codeAlpha