public static @Nullable NamedTextColor namedColor(final int value) {
    switch (value) {
      case BLACK_VALUE: return BLACK;
      case DARK_BLUE_VALUE: return DARK_BLUE;
      case DARK_GREEN_VALUE: return DARK_GREEN;
      case DARK_AQUA_VALUE: return DARK_AQUA;
      case DARK_RED_VALUE: return DARK_RED;
      case DARK_PURPLE_VALUE: return DARK_PURPLE;
      case GOLD_VALUE: return GOLD;
      case GRAY_VALUE: return GRAY;
      case DARK_GRAY_VALUE: return DARK_GRAY;
      case BLUE_VALUE: return BLUE;
      case GREEN_VALUE: return GREEN;
      case AQUA_VALUE: return AQUA;
      case RED_VALUE: return RED;
      case LIGHT_PURPLE_VALUE: return LIGHT_PURPLE;
      case YELLOW_VALUE: return YELLOW;
      case WHITE_VALUE: return WHITE;
      default: return null;
    }
  }
Gets the named color exactly matching the provided color.

@param value the color to match
@return the matched color, or null
@since 4.10.0
api/src/main/java/net/kyori/adventure/text/format/NamedTextColor.java