Battery color thresholds

I am creating a battery widget and would like to change the color from green to yellow to red as the battery drains. Does anyone know what values the Vivoactive 3 would use as thresholds for the battery icon color in the menu so that I can make my widget use the same values?