How to Change Clock Colour Automatically
It is possible to configure World Clock
to change clock colours automatically during the day, depending on week day and time. For example, to display clocks in different colour during office hours.
London office is closed but Vancouver is open
In the example above, the London clock is blue while Vancouver is green. This is because both clocks were configured to display a different colour, depending on time of day in each place. So, you can instantly see that the London office is closed for business but Vancouver is open. As time goes by things change. Eventually the London office opens, then the London clock instantly becomes green.
London office is open now but too late in Vancouver
A simple system like that can get you a productivity improvement when you need to instantly know when something is a remote time zone changes the status depending on time of day. Here are a few examples:
- Business open / closed hours.
- Daytime or nighttime indicator.
- Forex market status.
- Stock market status.
- Proximity to deadline or an event for timers.
- An indicator whether something has expired.
How Dynamic Colour Change Works
World Clock allows you to associate a colour with each clock that applies only during particular weekdays and times. Internally, we call it a clock profile
You can have up to 10 differently defined profiles for each clock, which are prioritized depending on their order in the initialization file. Most likely, you'll never need all 10 profiles but you may need 2 as in the example on top.
Clock profiles may overlap and when it happens, the one with higher priority wins. For example, you may have these two profiles defined.
- Green - higher priority profile - active 9 AM to 6 PM Monday through Friday.
- Blue - lower priority profile - active 24 hours a day every day a week.
So, if it is 10 AM on a Monday then both profiles apply but the green one has higher priority, therefore the clock is displayed in green to indicate the Office open
How to Set Up Dynamic Colour Change
All we really have to do for dynamic colours is to define two Highlights
for a clock in Preferences
. Let's start with the lower priority highlight.
Lower priority highlight applies 24 hours a day every weekday
Here, you can see that in Preferences for the Vancouver clock we have defined the Office closed
- Starts and ends on midnight.
- Applies all weekdays.
- Has blue colour.
- The priority of the highlight is lowest because it is on the bottom of the Highlights list in Preferences.
Now let's look at the higher priority highlight.
Higher priority highlight applies between 9 AM - 6 PM Monday through Friday
The Open for business
highlight has the following properties:
- Starts at 9:00 AM and ends on 6:00 PM.
- Applies only Monday through Friday.
- Has green colour.
- The priority of the highlight is highest because it is on the top of the Highlights list.
That is all for Vancouver clock. If you define the same highlights for London clock, you'll have both clocks to dynamically change colors as on the screenshots on top of this page.
World Clock FAQ