public static String colourise(final String text, final ConsoleColour colour) {
        Objects.requireNonNull(text);
        Objects.requireNonNull(colour);
        if (colour.getColourCode() == null) {
            return text;
        } else {
            return colour.getColourCode() + text + 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