give text color css code example Example 1: text color css .class { color: white; } Example 2: text color css .YourClass { color: #ff0000; }