CSS declarations sit inside curly brackets and each is made up of two parts: a property and a value, separated by a colon. You can specify several properties in one declaration, each separated by a semi-colon.
CSS can be added to HTML documents in 3 ways:
- Inline - by using the style attribute inside HTML elements
- Internal - by using a (style) element in the (head) section
- External - by using a (link) element to link to an external CSS file
Color Tag In CSS
- Foreground Color
by useing (color)
- Background Color
by useing (background-color)
The color property allows you to specify the color of text inside an element or background . You can specify any color in CSS in one of three ways:
- rgb values
These express colors in terms of how much red, green and blue are used to make it up. For example: rgb(100,100,90)
- hex codes
These are six-digit codes that represent the amount of red, green and blue in a color, preceded by a pound or hash # sign. For example: #ee3e80
3.color names
There are 147 predefined color names that are recognized by browsers. For example: DarkCyan
For more info about colos you can vist this website W3school

