Skip to content

Glossary: CSS Layout and Responsive Design

rgb()

Also written: rgb

A color written as red, green and blue amounts from 0 to 255, with an optional opacity after a slash, so `rgb(0 0 0 / 0.15)` is black at 15%.

Where the book teaches it

Related terms

opacity