# How can I allow player to pick color? (v4.21.2)

**URL:** <https://forums.unrealengine.com/t/how-can-i-allow-player-to-pick-color-v4-21-2/456914>\
**Category:** UI\
**Tags:** color-picker, unreal-engine, editor, Widget, UE4, Blueprint, question\
**Created:** [October 14, 2019, 3:49pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-player-to-pick-color-v4-21-2/456914 "2019-10-14T15:49:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TRI99ER](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TRI99ER](https://forums.unrealengine.com/u/TRI99ER)\
**Post date:** [October 14, 2019, 3:49pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-player-to-pick-color-v4-21-2/456914/1 "2019-10-14T15:49:19Z")

</div>

I want to create a Level Editor in my game and part of it is, player needs to be able to pick colors for Actor materials, but there is no option for color picker in the default Widget Palette. Is there a native way to do this? Or if isn’t, then how do I do this?

---

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [October 14, 2019, 4:21pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-player-to-pick-color-v4-21-2/456914/2 "2019-10-14T16:21:09Z")

</div>

Hi, I don’t know a native way, but in your widget you could create a Vector variable (name it Color) cause that will be the color you choose. Then create an Image and three Slider (the image as preview and the slider to change the color, three for R, G, B). Bind the “Color and Opacity” of your image and plug your variable Color in there. Create an “On Value Changed” Event for each of your three sliders and set the Color there.

 ![290000-choose-color.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/7/9c76929cc6e186c0a07ff80133b2133f0a835012.png)

---

<div class="post-metadata">

**Author:** ![TRI99ER](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TRI99ER](https://forums.unrealengine.com/u/TRI99ER)\
**Post date:** [October 14, 2019, 8:06pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-player-to-pick-color-v4-21-2/456914/3 "2019-10-14T20:06:11Z")

</div>

I know about this, but thanks anyway for your time. I just wanted to know about something more like Editor Color Wheel. I think it looks nicer.

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [October 14, 2019, 9:27pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-player-to-pick-color-v4-21-2/456914/4 "2019-10-14T21:27:58Z")

</div>

There already Color (8-bit integer based) and Linear Color (float based, once used for materials) types, this is what you should use.

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [October 14, 2019, 9:32pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-player-to-pick-color-v4-21-2/456914/5 "2019-10-14T21:32:50Z")

</div>

There no picker widget for UMG, either oyu doing something yourself, here some tutorial i found (remeber you making UMG widgets, so oyu can make one for picking color and reuse else where):

Or use if C++ is not issue for you, make UMG widget based of Slate widget SColorPicker

> **[SColorPicker](https://docs.unrealengine.com/5.1/en-US/API/Runtime/AppFramework/Widgets/Colors/SColorPicker/)**
>
> Class for placing a color picker.

It in Runtime folder so you can use it in game

---

<div class="post-metadata">

**Author:** ![UptownSphere970](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/uptownsphere970/32/88707_2.png) [@UptownSphere970](https://forums.unrealengine.com/u/UptownSphere970)\
**Post date:** [April 1, 2023, 4:49pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-player-to-pick-color-v4-21-2/456914/6 "2023-04-01T16:49:35Z")

</div>

its unbelievably frustrating that they haven’t provided us with a basic color picker widget.  
Epic please…
