code: public static Bitmap tint(@NonNull final Bitmap bitmap, @ColorInt final int color) {
          Condition.INSTANCE.ensureNotNull(bitmap, "The bitmap may not be null");
          Canvas canvas = new Canvas(bitmap);
          Paint paint = new Paint();
          paint.setColor(color);
          canvas.drawRect(new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()), paint);
          return bitmap;
      }
docs: Creates and returns a bitmap by overlaying it with a specific color.
  
  @param bitmap
  The bitmap, which should be tinted, as an instance of the class {@link Bitmap}. The
  bitmap may not be null
  @param color
  The color, which should be used for tinting, as an {@link Integer} value
  @return The bitmap, which has been created, as an instance of the class {@link Bitmap}