code: public void setRippleRes(@ColorRes int colorId) {
          this.rippleColor = ContextCompat.getColor(getContext(), colorId);
          ripplePaint.setColor(rippleColor);
      }
docs: Sets ripple color.
  
  @param colorId Ripple color resId