How to change the default color of toggle in Ionic?

 <ion-item>
    <ion-label> <span class="font-capp">SS Engine</span></ion-label>
    <ion-toggle toggle-class="toggle-assertive" checked disabled="false"></ion-toggle>
  </ion-item>

Can we change the color of the toggle based checked/unchecked dynamically?

Please don’t ask the same question on different posts/new threads. I’ve given the answer for you already over here: