# Multiple color in title text

**URL:** <https://community.plotly.com/t/multiple-color-in-title-text/64067>\
**Category:** 📊 Plotly Python\
**Tags:** question\
**Created:** [May 12, 2022, 8:11pm UTC](https://community.plotly.com/t/multiple-color-in-title-text/64067 "2022-05-12T20:11:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![atharvakatre](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/atharvakatre/32/14713_2.png) [@atharvakatre](https://community.plotly.com/u/atharvakatre)\
**Post date:** [May 17, 2022, 6:59pm UTC](https://community.plotly.com/t/multiple-color-in-title-text/64067/3 "2022-05-17T18:59:18Z")

</div>

Hi @dataturnsmeon

As @jlfsjunior suggested you can use HTML to have separate styled substrings with the `<span>` tag.

```auto
fig.update_layout(
    title_text="Plot Title: <span style='color:red'>Sub title in Red</span>"
)

```

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/e/0/e0e32538ad2c74292ad74920949e11eb9aa216da.png)

---

_[View the full topic](https://community.plotly.com/t/multiple-color-in-title-text/64067)._
