# Change color of editable text in rintime

**URL:** <https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751>\
**Category:** Rendering\
**Tags:** style, unreal-engine, color, runtime, question, UMG\
**Created:** [October 30, 2020, 4:03pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751 "2020-10-30T16:03:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shedels](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shedels/32/1121823_2.png) [@Shedels](https://forums.unrealengine.com/u/Shedels)\
**Post date:** [October 30, 2020, 4:03pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/1 "2020-10-30T16:03:55Z")

</div>

Hi, does anyone know if it is possible to change the color or font of the **editable text block**? I’ve tried working with the styling of the widget, but it just doesn’t work.  
I mean without cpp, bp only.

 ![320608-123122132112323213123.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/2/3f2f4810e1b105c4d1f1d769131a5df5c76dbb47.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 30, 2020, 4:08pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/2 "2020-10-30T16:08:55Z")

</div>

Afaik, this property is not exposed to blueprints dynamically (either by omission or some nefarious purpose…). As in, BPs cannot directly set the colour of the Editable Text widget _run-time_ (you can outside of PIE, ofc). So you need a workaround, pick one:

- wrap the _Editable Text_ in a user widget - this way the parent can directly manipulate the slot via `Set Color and Opacity`. This may be useful if you want the text to handle some logic. Otherwise go for the next option…
- wrap the _Editable Text_ in a border with a transparent brush, this way the border can set the `Content Color and Opacity` of its child, as in:

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/d/b0d46bc593e96f22640d6eae29f7579ad7ff4855.gif)](https://gyazo.com/b1d5a018d4923f65347ccf533fc501ae)

In this case, you will be modifying the _Content_ of the border that holds the text, rather than text itself. It works well enough, though.

---

<div class="post-metadata">

**Author:** ![Shedels](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shedels/32/1121823_2.png) [@Shedels](https://forums.unrealengine.com/u/Shedels)\
**Post date:** [October 30, 2020, 4:46pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/3 "2020-10-30T16:46:23Z")

</div>

I like this idea with Border but i can’t see my text. I repeated the action on the gif, but maybe smth wrong

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 30, 2020, 5:02pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/4 "2020-10-30T17:02:41Z")

</div>

What is the border’s Content color set to? The **opacity** there has to be 1.0; 0.0 for the brush.

Perhaps you forgot to set default text?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 30, 2020, 5:15pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/5 "2020-10-30T17:15:13Z")

</div>

In this scenario, it’s also a good idea to let the text inherit the colour.

 ![320631-screenshot-2020-10-30-171006.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/4/dc4dfa98aa32d210e193c9270f026da162af7dd7.jpeg)

---

<div class="post-metadata">

**Author:** ![Shedels](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shedels/32/1121823_2.png) [@Shedels](https://forums.unrealengine.com/u/Shedels)\
**Post date:** [October 30, 2020, 5:33pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/6 "2020-10-30T17:33:40Z")

</div>

Is it possible to remove the border’s colored background when selecting text by mouse cursor?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 30, 2020, 5:46pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/7 "2020-10-30T17:46:18Z")

</div>

Not sure what you mean, if you make the border brush’s opacity 0.0, then you can’t see the border:

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/0/ae018ccaf0f5c052e498ad62d8c545365f09a776.gif)](https://gyazo.com/6f7fa2e3be1e601c7e86b445a3a3453b)

---

<div class="post-metadata">

**Author:** ![wade0608](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wade0608](https://forums.unrealengine.com/u/wade0608)\
**Post date:** [June 27, 2023, 1:18am UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/8 "2023-06-27T01:18:44Z")

</div>

How to change the font color of editable text box?

---

<div class="post-metadata">

**Author:** ![DesertRayge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesertRayge](https://forums.unrealengine.com/u/DesertRayge)\
**Post date:** [September 3, 2023, 7:54pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/9 "2023-09-03T19:54:26Z")

</div>

In case someone is still looking for an updated answer on this without wrapping in another widget. Select Inheritg on the color

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/7/e97a91b2b9c4e68c939bc2764e3511aa164f4dc5.png)

then make your Editable textbox a variable

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/0/330c283f0af365fd1f0ac6b99d5cf27566482bd4.png)

then use set foreground Color in your function

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/e/dbe076d8b3874164436d30a0734112b2d9b6c686.png)

---

<div class="post-metadata">

**Author:** ![Nizami\_Nz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nizami\_Nz](https://forums.unrealengine.com/u/Nizami_Nz)\
**Post date:** [July 5, 2025, 3:31pm UTC](https://forums.unrealengine.com/t/change-color-of-editable-text-in-rintime/473751/10 "2025-07-05T15:31:23Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/e/c6ea428456bec778a90df586a90d83e794c195bc.png)
