Refactor 'connected' colour into a constant