# How can I change the color to ALL \<ion-navbar\> in my app?

**URL:** <https://forum.ionicframework.com/t/how-can-i-change-the-color-to-all-ion-navbar-in-my-app/44384>\
**Category:** ionic-v3\
**Created:** [February 22, 2016, 4:00am UTC](https://forum.ionicframework.com/t/how-can-i-change-the-color-to-all-ion-navbar-in-my-app/44384 "2016-02-22T04:00:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gigocabrera](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gigocabrera/32/123546_2.png) [@gigocabrera](https://forum.ionicframework.com/u/gigocabrera)\
**Post date:** [February 22, 2016, 4:00am UTC](https://forum.ionicframework.com/t/how-can-i-change-the-color-to-all-ion-navbar-in-my-app/44384/1 "2016-02-22T04:00:02Z")

</div>

This is probably a silly question but for the life of me I can’t seem to make it work

---

<div class="post-metadata">

**Author:** ![ctcampbell](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ctcampbell/32/90760_2.png) [@ctcampbell](https://forum.ionicframework.com/u/ctcampbell)\
**Post date:** [February 22, 2016, 10:26am UTC](https://forum.ionicframework.com/t/how-can-i-change-the-color-to-all-ion-navbar-in-my-app/44384/2 "2016-02-22T10:26:43Z")

</div>

You can set a primary colour in app.variables.scss:

```
$colors: (
        primary: #E91E63,
        secondary: #673AB7,
        ...
);

```

and then set it in your navbar like so:

```
<ion-navbar *navbar primary>
    <ion-title>{{item.title}}</ion-title>
</ion-navbar>
```

---

<div class="post-metadata">

**Author:** ![gigocabrera](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gigocabrera/32/123546_2.png) [@gigocabrera](https://forum.ionicframework.com/u/gigocabrera)\
**Post date:** [February 22, 2016, 12:07pm UTC](https://forum.ionicframework.com/t/how-can-i-change-the-color-to-all-ion-navbar-in-my-app/44384/3 "2016-02-22T12:07:01Z")

</div>

That worked. Thank you!

But with this approach I would have to go to each page with an `<ion-navbar>` and add the color. Is there a global way to change them all at once?
