public static @Nullable Color fromHex(@Nullable String str, @Nullable Color defaultValue) {
    if (str == null) return defaultValue;
    try {
      return fromHex(str);
    }
    catch (Exception e) {
      return defaultValue;
    }
  }
public static @Nullable Color fromHex(@Nullable String str, @Nullable Color defaultValue)