rgb

The rgb() function can be used to provide a color value when using CSS. It allows you to specify an RGB color value by specifying the red, green, and blue channels directly.

Syntax



rgb() = rgb( red, green, blue )