how to give font color in css code example

Example 1: 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 2: text color css

.class {
  color: white;
}

Example 3: css change text color

p{
	color: White;
}

Example 4: 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

Example 5: changong text color css

color: #EAF6F6;

color: red;

color: rgb(255, 255, 255);

Example 6: css font color

color:#ffffff;