private static void appendColour(final StringBuilder stringBuilder, final String text, final ConsoleColour colour) {
        Objects.requireNonNull(stringBuilder);
        Objects.requireNonNull(text);
        Objects.requireNonNull(colour);
        stringBuilder
                .append(colour.colourCode)
                .append(text)
                .append(ConsoleColour.RESET.colourCode);
    }
Set of ANSI colour codes and utility methods for brightening up the console
stroom-util/src/main/java/stroom/util/ConsoleColour.java