code: private int getHelperTextColor(final float score) {
          if (!helperTextColors.isEmpty()) {
              float interval = 1.0f / helperTextColors.size();
              int index = (int) Math.floor(score / interval) - 1;
              index = Math.max(index, 0);
              index = Math.min(index, helperTextColors.size() - 1);
              return helperTextColors.get(index);
          }
  
          return regularHelperTextColor;
      }
docs: Returns the color of the helper text, which corresponds to a specific password strength.
  
  @param score
  The password strength as a {@link Float} value between 0.0 and 1.0, which represents
  the fraction of constraints, which are satisfied
  @return The color of the helper text as an {@link Integer} value