Change color depends on time remaining