# How do you change the color of Text?

**URL:** <https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167>\
**Category:** Product Support\
**Created:** [April 10, 2024, 1:45am UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167 "2024-04-10T01:45:07Z")\
**Posts on this page:** 8\
**Page:** 1

## AI-generated summary

The discussion revolves around changing the color of text on a Discourse forum. [WolfTech_Gimkit](/t/-/303167/1) is looking for a way to change the color of normal text, not just the background. [ondrej](/t/-/303167/3) suggests using a plugin or theme component for highlighted text, while [bryce](/t/-/303167/6) explains that an admin can change the primary color scheme through **Preferences -> Admin -> Customize**. However, this may cause unwanted side effects on other parts of the site. [WolfTech_Gimkit](/t/-/303167/7) was also inquiring about a JS script to achieve this on a specific topic, but no solution was provided.

<div class="post-metadata">

**Author:** ![WolfTech\_Gimkit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftech_gimkit/32/376664_2.png) [@WolfTech\_Gimkit](https://meta.discourse.org/u/WolfTech_Gimkit)\
**Post date:** [April 10, 2024, 1:45am UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167/1 "2024-04-10T01:45:07Z")

</div>

So i saw that there was a way to change the highlight around the text, but that doesn’t work. But is there a way to change the actual color of just the text, not the background?

---

<div class="post-metadata">

**Author:** ![ogulcan1787](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ogulcan1787/32/128589_2.png) [@ogulcan1787](https://meta.discourse.org/u/ogulcan1787)\
**Post date:** [April 10, 2024, 9:08am UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167/2 "2024-04-10T09:08:46Z")

</div>

Can you write your website and show with a screenshot which text area it is.

---

<div class="post-metadata">

**Author:** ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)\
**Post date:** [April 10, 2024, 10:53am UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167/3 "2024-04-10T10:53:56Z")

</div>

`<mark>your text here</mark>` adds a highlight to text. Alternatively, you could have a look at this plugin?

> [@Discourse BBCode](https://meta.discourse.org/t/discourse-bbcode/65425):
>
> information_sourceSummary Discourse BBCode adds the ability to use BBCode to format posts.discourse2Hosted by us? This plugin is available on our Enterprise plansmechanicSelf-host Install [Install plugins on a self-hosted site](https://meta.discourse.org/t/install-plugins-on-a-self-hosted-site/19157)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-bbcode](https://github.com/discourse/discourse-bbcode) The Discourse BBCode plugin enhances the Markdown composer [[1]](#footnote-304175-1) with support for the [BBCode syntax](https://www.bbcode.org/reference.php) beyond what is included by default (i.e. [i], [b], [s], [u], […

or this theme component?

> **[GitHub - merefield/discourse-tc-coloured-text: A simple Theme Component alternative to the BBCode...](https://github.com/merefield/discourse-tc-coloured-text)**
>
> A simple Theme Component alternative to the BBCode colouring plugin

---

<div class="post-metadata">

**Author:** ![WolfTech\_Gimkit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftech_gimkit/32/376664_2.png) [@WolfTech\_Gimkit](https://meta.discourse.org/u/WolfTech_Gimkit)\
**Post date:** [April 10, 2024, 11:59pm UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167/4 "2024-04-10T23:59:31Z")

</div>

its just the normal text, like the one i am writting now. But here is a link to the forum. I don’t own it btw. 👍

> **[Gimkit Creative](https://forum.creative.gimkit.com/)**
>
> Get help building your own maps & worlds in Gimkit Creative!

---

<div class="post-metadata">

**Author:** ![WolfTech\_Gimkit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftech_gimkit/32/376664_2.png) [@WolfTech\_Gimkit](https://meta.discourse.org/u/WolfTech_Gimkit)\
**Post date:** [April 11, 2024, 12:00am UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167/5 "2024-04-11T00:00:27Z")

</div>

i will try it and see if i can get it to work. Thanks though.

---

<div class="post-metadata">

**Author:** ![bryce](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryce/32/377822_2.png) [@bryce](https://meta.discourse.org/u/bryce)\
**Post date:** [April 11, 2024, 12:31am UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167/6 "2024-04-11T00:31:25Z")

</div>

By default, the body text like this is colored using the “primary” color for the current theme. An admin can change this by going to:

**Preferences → Admin → Customize**

1. Click ‘Add Color Scheme’ or select an existing one to edit.
2. Click the edit icon next to the color scheme name.
3. Click any of the color fields to choose a different color.

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/6/9/069af4817aee91aa0767a3eb70bd4d7bf31da3a8.png)

One thing to note is that many other parts of the site get their color from the “primary” color, so changing this may cause unwanted side effects. CSS rules can be used to set color more directly for specific parts.

---

<div class="post-metadata">

**Author:** ![WolfTech\_Gimkit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftech_gimkit/32/376664_2.png) [@WolfTech\_Gimkit](https://meta.discourse.org/u/WolfTech_Gimkit)\
**Post date:** [April 11, 2024, 1:57am UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167/7 "2024-04-11T01:57:14Z")

</div>

Oh ok, i just didn’t know if there was a JS script that you could use on a topic.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [May 11, 2024, 1:58am UTC](https://meta.discourse.org/t/how-do-you-change-the-color-of-text/303167/8 "2024-05-11T01:58:13Z")

</div>

Closed on May 11, 2024, 1:58am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
