css text clour code example Example 1: css change text color p{ color: White; } Example 2: text color css .YourClass { color: #ff0000; }