Messages thyat change with time

I’m having a bit of a nightmare trying to find out how to do what I need to do, so any help would be great! I’m building a site and in it i’ll have a 24hr clock. As the time of day changes I want different messages to appear and I also want the colour of the interface to change, I’ve been told this is possible but how??!! Thanks.