Change ION-HEADER background Color

Hello All,

I m stuck with a problem where I want to change background color of ION-HEADER. The background color that I have to setup is coming from response of Item.

Suppose, when I select any category and got item such as

{

“bus_registered_name”: “TSN PROPERTIES CC”,
“bus_id”: “217”,
“bus_trading_name”: “Direct Property Group”,
“bus_global_group_id”: “1”,
“group_colour”: “#003D6A”,
“restriction_id”: “0”
}

Everytime I got new group_colour as per such response of JSON.

Please help to setup this feature using TYPESCRIPT in constructor.

Its quite urgent guys.

Thank you!

The category of your thread is Ionic-v1, but you mention Typescript. Are you using Ionic v1 or Ionic 2+?