# How to change color of button in canvas

**URL:** <https://forums.unrealengine.com/t/how-to-change-color-of-button-in-canvas/1856858>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, question, fortnite\
**Created:** [May 15, 2024, 7:59am UTC](https://forums.unrealengine.com/t/how-to-change-color-of-button-in-canvas/1856858 "2024-05-15T07:59:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LiGreatNessBall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LiGreatNessBall](https://forums.unrealengine.com/u/LiGreatNessBall)\
**Post date:** [May 15, 2024, 7:59am UTC](https://forums.unrealengine.com/t/how-to-change-color-of-button-in-canvas/1856858/1 "2024-05-15T07:59:24Z")

</div>

The first image is the color of my button (I think it is yellow by default). I want it to look more like the second image below, ignore the text. does anyone have an idea for what the code would look like?  
my code kinda looks like this, foir the button atleast

stack\_box\_slot:  
Widget := Button  
HorizontalAlignment := horizontal\_alignment.Fill  
Distribution := option{10.0}

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/4/c040485f5a9a1b17dbddda01cf80b82ed21ebda4.png)

![image2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/b/0/eb0839bcd409f10527fb8eca82971a204dff99f3.png)
