
The background-color property used to set the background color for the element.If you not give the background color to the element its take the default value as transparent.
You can give the background color value in different way. Color Name,Hexadecimal Value,RGB Value.
Syntax For Background Color:
background-color: red; background-color: rgb(255, 255, 128); background-color: hsla(50, 33%, 25%, 0.75); background-color: currentColor; background-color: transparent; background-color: #bbff00; background-color: inherit;