# How to change a button colour

**URL:** <https://forum.kirupa.com/t/how-to-change-a-button-colour/45024>\
**Category:** Uncategorized\
**Created:** [March 10, 2004, 6:27am UTC](https://forum.kirupa.com/t/how-to-change-a-button-colour/45024 "2004-03-10T06:27:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![willson](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@willson](https://forum.kirupa.com/u/willson)\
**Post date:** [March 10, 2004, 6:27am UTC](https://forum.kirupa.com/t/how-to-change-a-button-colour/45024/1 "2004-03-10T06:27:15Z")

</div>

hi does anyone know how to change the colour of a button when we push a key

example

press left key only the left side of the colour change and when release it will change be to the default colur and so goes to right key only the right side will change
