HTML Colors
HTML colors define colors that we see on a web page.
In this lesson we will use inline styling with CSS properties color and background-color to change the text color
and/or background color of HTML Elements.
HTML Colors can be defined using the following:
- Color Name - It defines any valid color by its color name e.g. white, black .
- Hex Color Value - or Hexadecimal color value - It defines any valid color by a hash followed by letters and/or
numbers e.g. #000000 , #ffffff .
- RGB Color Value - RGB stands for Red, Green, Blue. It defines any valid color by this format
" rgb(0,0,0) rgb(255,255,255) ". The numbers represent the intensity of the red, green, blue colors in that
particular order.
Enjoy the video!