Each preset is a raw reading on its own scale (0-100 here). The CSS progress() function maps that raw number onto a 0-1 fraction directly in calc(), no JavaScript division required, and the same fraction drives both the fill width and its hue.
progress()
calc()