public final void setColor(@ColorInt final int color) {
        this.color = color;
        getBackground().setColorFilter(color, PorterDuff.Mode.SRC_IN);
    }
public final void setColor(@ColorInt final int color) {
        this.color = color;
        getBackground().setColorFilter(color, PorterDuff.Mode.SRC_IN);
    }
public final void setColor ( @ ColorInt final int color ) { this . color = color ; getBackground ( ) . setColorFilter ( color , PorterDuff . Mode . SRC_IN ) ; }
Sets the chip's color.

@param color
The color, which should be set, as an {@link Integer} value
Sets the chip s color .