background text color code example

Example 1: css underline color

u
{
	text-decoration: underline;
  	text-decoration-color: red;
}
example of use: (in html)

<p>The word <u>CAT</u>, is underlined </p>

Example 2: css text

text-align: center, right, left, justify, start, end;
font-weight: lighter, 100, normal, 400, bold, 700, bolder, 900;
text-decoration: wavy, dashed, dotted, double, solid, underline, line-through, overline;
text-decoration: underline red;
line-height: normal;
letter-spacing: 2;
font-size: 100px;
font-family: 'Courier New', Courier, monospace;

Example 3: text background color css

body {
	background-color:rgb(130, 50, 29);
}

Example 4: text color css

.YourClass {
  color: #ff0000;
}

Example 5: font color css

Don't use keywords like green, orange, red or so on because browsers will interpretate them in differen colors. Use rgb or hex instead