Alternate Hue colors

I have some under cabinet Hue strip lights and I’d like to configure them to alternate colors every 5 min or so when turned on e.g. 5 min green then 5 min red then back to green as long as they are on.