Inline CSSis used for applying style to a particular HTML Tag,
The style attribute can be used to set the style of as pecific HTML element.
The background-color property defines the background color for an HTML element.
In HTML, a color can be defined by using colornames or RGB, Hex and HSL values.
HTML supports 140 standard color names
In HTML, a color can be specified as an RGB value using this formula: rgb(red, green, blue)
In HTML, a color can be specified using the hexadecimal value in the form: #rrggbb where rr(red), gg(green) and bb(blue) are hexadecimal values between 00 and ff (same as decimal 0-255).
For example, #00ffff is displayed as red, because red is set to its highest value (ff) and the others are set to the lowest value (00).
In HTML, a color can be specified using hue,saturation, and lightness (HSL) in the form:hsl(hue, saturation, lightness).
Hue is the degree on the color wheel from 0 to 360, 0 is red, 120 is green and 240 is blue.
Saturation can be described as the intensity of the color, 100% is pure color (no shade of gray), 50% is50% gray (but you can still see the color), 0% is completely gray (you can no longer see the color).
Lightness is also a percentage, 0% is black, 50% is neither light or dark, 100% is white.
The font-family property defines the fonts to be used for an HTML element.
The font-size property defines the text size for an HTML element.
The font-size value can be an absolute (pixels) or relative (em) size.
The text-align property defines the horizontal text alignment for an HTML element.
A text can be left or right aligned, centered or justified.
The text-indent property is used to specify the indentation of the first line of text.
Each parameter (red, green, blue) defines the density of the color between 0 and 255.
To display the color black, all colors must be set to 0, like this rgb(0,0,0).