

#ff0000, for example, is bright red, where the red component of the color is 256 bits (ff) and the corresponding green and blue portions of the color is 0 (00). Hex code is used to denote RGB components of a color in base-16 hexadecimal notation.


Inherit, inherits this property from its parent element. Transparent, specifies that the background color should be transparent. The background-color property sets the background color of an element using a color value or through keywords, such as transparent, inherit or initial.
