code: public static int color(ColorHolder colorHolder, Context ctx) {
          if (colorHolder == null) {
              return 0;
          } else {
              return colorHolder.color(ctx);
          }
      }
docs: a small static helper class to get the color from the colorHolder
  
  @param colorHolder
  @param ctx
  @return