To apply color to text in CSS, you use the `color` property. The value can be a named color, a hex code, an rgb value, or an hsl value.
Here is an example:
```
p {
color: red;
}
/* OR */
p {
color: #ff0000;
}
/* OR */
p {
color: rgb(255, 0, 0);
}
/* OR */
p {
color: hsl(0, 100%, 50%);
}
```
All these examples set the text color of `
` elements to red.
The `color` property only sets the color of the text. It does not affect the color of the background of an element, borders, or other parts of the element box.