Im trying to have the color of {{f.percentage}} to change depending on what the percentage is. I am able to generate the Red Green Blue values but I do not know how to use ng-style to write "color: rgb(red,green,blue)". Thanks
<div class="winPer" style="float:right;">
<span ng-style="{'color':
'rgb(' + f.red + ',' + f.green + ',' + f.blue + ')'}">{{f.winRate}}%</span>
</div>