- background-color: hsl(0, 0, 0, 0.5);
- background-color: rgbx(0, 0, 0, 0.5);
- background-color: rgba(0, 0, 0, 0.5);
- background-color: rgba(0, 0, 0, 1);
rgba is a funtion in css. rgba stands for red, green, blue and alpha. The value of alpha can be between 0 and 1 both inclusive with 0 being fully transparent and 1 being fully opaque.
Correct Answer:
- background-color: rgba(0, 0, 0, 0.5);