This is what i did after looking into documentation
public PorterDuffColorFilter getDrawableFilter(){
return new PorterDuffColorFilter(ContextCompat.getColor(this, R.color.color_black), PorterDuff.Mode.SRC_ATOP);
}
and called it
yourdrawable.setColorFilter(getDrawableFilter());