Factor out printing a coloured char to utils