lib/src/main/java/com/shamanland/fab/FloatingActionButton.java
public void setColor(int color) {
        boolean changed = mColor != color || mColorStateList != null;

        mColor = color;
        mColorStateList = null;

        if (changed) {
            updateBackground();
        }
    }
public void setColor(int color) {
        boolean changed = mColor != color || mColorStateList != null;

        mColor = color;
        mColorStateList = null;

        if (changed) {
            updateBackground();
        }
    }
public void setColor ( int color ) { boolean changed = mColor != color || mColorStateList != null ; mColor = color ; mColorStateList = null ; if ( changed ) { updateBackground ( ) ; } }
Sets background color for this button.
<p/>
Xml attribute: {@code app:floatingActionButtonColor}
<p/>
NOTE: this method sets the <code>mColorStateList</code> field to <code>null</code>

@param color color
Sets background color for this button . <p / > Xml attribute : { @code app : floatingActionButtonColor } <p / > NOTE : this method sets the <code > mColorStateList< / code > field to <code > null< / code >