Using custom color for ion-range (and any other ion-directives which accept color input)

I’ve got cards of different colors (based on user settings, server-side), and I’m trying to change the ion-range active bar color:

I tried:

    <ion-range [(ngModel)]="singleValue" [color]="user.profile.color" pin="true"></ion-range>

But it’s not working.
How could I achieve that?

As I got no answer from here I tried to open a feature request on official ionic repo: https://github.com/ionic-team/ionic/issues/12424

If anyone has an idea… It would be great!

Thanks