library/src/main/java/de/mrapp/android/view/FloatingActionButton.java
private void obtainColor(@NonNull final TypedArray typedArray) {
        int defaultColor = ThemeUtil.getColor(getContext(), R.attr.colorAccent);
        color = typedArray.getColor(R.styleable.FloatingActionButton_android_color, defaultColor);
    }
private void obtainColor(@NonNull final TypedArray typedArray) {
        int defaultColor = ThemeUtil.getColor(getContext(), R.attr.colorAccent);
        color = typedArray.getColor(R.styleable.FloatingActionButton_android_color, defaultColor);
    }
Obtains the floating action button's color from a specific typed array.

@param typedArray
The typed array, the color should be obtained from, as an instance of the class
{@link TypedArray}. The typed array may not be null