private void skipColorForLengthOf(final String content) {
    final int len = content.codePointCount(0, content.length());
    for (int i = 0; i < len; i++) {
      // increment our color index
      this.advanceColor();
    }
  }
A transformation that applies a colour change.

<p>The lifecycle is:</p>

<ol>
<li>init()</li>
<li>(color()? advanceColor())*</li>
</ol>

@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/AbstractColorChangingTag.java