---
title: Change the Color of Text
---
## Change the Color of Text

You can change the color of text in CSS using the `color` property.

### EXAMPLE

```
color: red;
```

## SOLUTION

```
<h2 style="color: red;">CatPhotoApp</h2>
```
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds  -->
