@Override
  public int hashCode() {
    return Objects.hash(this.colorIndex, this.dividedPhase);
  }
Applies rainbow color to a component.

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