Move colourisation to a separate module

This will make it easier to selectively import it and to avoid cyclic
dependencies.