I suppose that this is much more readable:

```python
for color in itertools.count():
    if color not in neighbourColors:
        break
```