default String style(String text, Style... styles) {
        if (!isColorEnabled()) {
            return text;
        } else {
            StringBuilder builder = new StringBuilder();
            style(builder, text, styles);
            return builder.toString();
        }
    }
Styles text using the given styles.

@param text Text to style.
@param styles Styles to apply.
@return Returns the styled text.
smithy-cli/src/main/java/software/amazon/smithy/cli/ColorFormatter.java