# Adding colour text to a topic

**URL:** https://meta.discourse.org/t/adding-colour-text-to-a-topic/124691
**Category:** Support
**Created:** [August 2, 2019, 5:48am UTC](https://meta.discourse.org/t/adding-colour-text-to-a-topic/124691 "2019-08-02T05:48:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![IvanC](https://avatars.discourse-cdn.com/v4/letter/i/f17d59/32.png) [@IvanC](https://meta.discourse.org/u/IvanC)
#### Post date: [August 2, 2019, 5:48am UTC](https://meta.discourse.org/t/adding-colour-text-to-a-topic/124691/1 "2019-08-02T05:48:36Z")

</div>

Hi, could someone help me out please with a line of HTML/CSS that I can embed into a topic box to (do something like) change a line of text to blue? I can then experiment with other changes..

I realise this is a super simple question for most here, but I’m struggling with the basics. Many thanks for any help.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 2, 2019, 6:31am UTC](https://meta.discourse.org/t/adding-colour-text-to-a-topic/124691/2 "2019-08-02T06:31:10Z")

</div>

Topics are prepared in [Markdown](https://www.markdownguide.org/cheat-sheet/). This standard does not implement coloured text like HTML.

You could try [Discourse BBCode Color](https://meta.discourse.org/t/discourse-bbcode-color/65363) or [Awesome BBCodes Plugin: multi-paragraph, nestable, with auto-complete](https://meta.discourse.org/t/awesome-bbcodes-plugin-multi-paragraph-nestable-with-auto-complete/28104)

(though I’ve not tried them myself)

---

<div class="post-metadata">

### Author: ![IvanC](https://avatars.discourse-cdn.com/v4/letter/i/f17d59/32.png) [@IvanC](https://meta.discourse.org/u/IvanC)
#### Post date: [August 2, 2019, 7:27am UTC](https://meta.discourse.org/t/adding-colour-text-to-a-topic/124691/3 "2019-08-02T07:27:21Z")

</div>

Thanks very much for the explanation and the suggestions.

---

<div class="post-metadata">

### Author: ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)
#### Post date: [November 3, 2023, 3:15pm UTC](https://meta.discourse.org/t/adding-colour-text-to-a-topic/124691/4 "2023-11-03T15:15:55Z")

</div>

If you don’t want a plugin (which requires editing the `app.yml` and rebuilding discourse and runs the risk of something breaking if the plugin stops working in future, althrough the BBCode color plugin is an official plugin so it’s a lower risk), a add on theme which can done from the admin browser page without having to recompile:

> [@Discourse Coloured Text](https://meta.discourse.org/t/discourse-coloured-text/218111):
>
> “BBCode-lite” without the need to install a plugin … Adds a simple control (palette icon) to the Composer to facilitate colouring of the foreground and background of text Select a word or text Hit the palette control It will be wrapped like so: [wrap=color color=# bgcolor=#]word[/wrap] Replace the #s with html-compatible colour names, e.g. “red”, “grey” … experiment.biohazard NB Same caveats apply as to BBCode: can be used to hide text. Credits Uses @j.jaffeux’s [Generic bbcode…](https://meta.discourse.org/t/generic-bbcode-wrapper-for-theme-components/123516)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 14, 2023, 12:15pm UTC](https://meta.discourse.org/t/adding-colour-text-to-a-topic/124691/5 "2023-12-14T12:15:01Z")

</div>


