int getInActiveColor(Context context) {
        if (this.mInActiveColorResource != 0) {
            return ContextCompat.getColor(context, mInActiveColorResource);
        } else if (!TextUtils.isEmpty(mInActiveColorCode)) {
            return Color.parseColor(mInActiveColorCode);
        } else if (this.mInActiveColor != 0) {
            return mInActiveColor;
        } else {
            return Utils.NO_COLOR;
        }
    }
int getInActiveColor ( Context context ) { if ( this . mInActiveColorResource != 0 ) { return ContextCompat . getColor ( context , mInActiveColorResource ) ; } else if ( ! TextUtils . isEmpty ( mInActiveColorCode ) ) { return Color . parseColor ( mInActiveColorCode ) ; } else if ( this . mInActiveColor != 0 ) { return mInActiveColor ; } else { return Utils . NO_COLOR ; } }
@param context to fetch color
@return in-active color (or) -1 if no color is specified