Adjust max speed based on color.