Change background color depending on time