reversing speed-to-color mappings because duty_cycle is inverted