@Override
  public boolean has(final @NotNull String name) {
    return isColorOrAbbreviation(name)
      || NamedTextColor.NAMES.value(name) != null
      || COLOR_ALIASES.containsKey(name)
      || TextColor.fromHexString(name) != null;
  }
A transformation applying a single text color.

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