public static @NotNull Color fromHex(@NotNull String str) {
    Color color = fromHexOrNull(str);
    if (color != null) return color;
    throw new IllegalArgumentException("unsupported length:" + str);
  }
public static @NotNull Color fromHex(@NotNull String str)