back

Background-Color

This is used to set the background colour of an element.

The colour can be defined either as a hex colour, in RGB format, or written as a colour name.

To set the colour for text, use the Color property.

Example