# Change color of Ionic 4 Back Button

**URL:** <https://forum.ionicframework.com/t/change-color-of-ionic-4-back-button/160916>\
**Category:** Ionic Framework\
**Created:** [April 5, 2019, 6:31pm UTC](https://forum.ionicframework.com/t/change-color-of-ionic-4-back-button/160916 "2019-04-05T18:31:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddickson-SS](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@ddickson-SS](https://forum.ionicframework.com/u/ddickson-SS)\
**Post date:** [April 5, 2019, 6:31pm UTC](https://forum.ionicframework.com/t/change-color-of-ionic-4-back-button/160916/1 "2019-04-05T18:31:02Z")

</div>

I’m looking at the documentation for the back button ([https://ionicframework.com/docs/api/back-button](https://ionicframework.com/docs/api/back-button)) and trying to change the color of it using

```auto
ion-back-button {
  --color: #fff;
}

```

and it doesn’t have any effect. I am new to css variables so I’m not sure how to troubleshoot. What am I doing incorrectly?

---

<div class="post-metadata">

**Author:** ![victorsosa](https://avatars.discourse-cdn.com/v4/letter/v/58f4c7/32.png) [@victorsosa](https://forum.ionicframework.com/u/victorsosa)\
**Post date:** [April 20, 2019, 3:36pm UTC](https://forum.ionicframework.com/t/change-color-of-ionic-4-back-button/160916/2 "2019-04-20T15:36:35Z")

</div>

I did it like this:

```auto
ion-title,
ion-buttons {
color: #ffffff;
}

```

---

<div class="post-metadata">

**Author:** ![Nona96](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@Nona96](https://forum.ionicframework.com/u/Nona96)\
**Post date:** [April 20, 2019, 4:31pm UTC](https://forum.ionicframework.com/t/change-color-of-ionic-4-back-button/160916/3 "2019-04-20T16:31:14Z")

</div>

try mentioning the color you want.  
i don’t think this is right way to code.  
Regards.
