# OT: How can I change md content color? My way didnt work

**URL:** <https://discourse.gohugo.io/t/ot-how-can-i-change-md-content-color-my-way-didnt-work/33414>\
**Category:** support\
**Created:** [June 17, 2021, 6:08am UTC](https://discourse.gohugo.io/t/ot-how-can-i-change-md-content-color-my-way-didnt-work/33414 "2021-06-17T06:08:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pandapd](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Pandapd](https://discourse.gohugo.io/u/Pandapd)\
**Post date:** [June 17, 2021, 6:08am UTC](https://discourse.gohugo.io/t/ot-how-can-i-change-md-content-color-my-way-didnt-work/33414/1 "2021-06-17T06:08:23Z")

</div>

Now i use like this

```nohighlight
<font color='BlueViolet'>color text</font>

```

to change md content color, but use `hugo --buildDrafts`，it generate html doesn’t show colored text,its still black. What is the correct markdown format to render text color？

thx very much ！

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [June 17, 2021, 6:32am UTC](https://discourse.gohugo.io/t/ot-how-can-i-change-md-content-color-my-way-didnt-work/33414/2 "2021-06-17T06:32:28Z")

</div>

The font tag is no longer valid in HTML 5.

In any case we do not provide support for these kind of questions in this forum.

Search StackOverflow or CSS-Tricks for ways to style text color in HTML.

Also please have a look at the forum [Requesting Help](https://discourse.gohugo.io/t/requesting-help/9132) guidelines.

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [June 17, 2021, 6:32am UTC](https://discourse.gohugo.io/t/ot-how-can-i-change-md-content-color-my-way-didnt-work/33414/3 "2021-06-17T06:32:49Z")

</div>


