Added support for window resize colouring.