function(rm, sBgColor, sBgImgUrl, sCustomBGClass) {
			rm.addClass(sCustomBGClass || "sapUiGlobalBackgroundColor");

			if (sBgColor && !DataType.getType("sap.ui.core.CSSColor").isValid(sBgColor)) {
				Log.warning(sBgColor + " is not a valid sap.ui.core.CSSColor type");
				sBgColor = "";
			}
			if (sBgColor || sBgImgUrl) { // when an image or color is configured, the gradient needs to be removed, so the color can be seen behind the image
				rm.addStyle("background-image", "none");
				rm.addStyle("filter", "none");
			}
			if (sBgColor) {
				rm.addStyle("background-color", sBgColor);
			}
		}
function(rm, sBgColor, sBgImgUrl, sCustomBGClass) {
			rm.addClass(sCustomBGClass || "sapUiGlobalBackgroundColor");

			if (sBgColor && !DataType.getType("sap.ui.core.CSSColor").isValid(sBgColor)) {
				Log.warning(sBgColor + " is not a valid sap.ui.core.CSSColor type");
				sBgColor = "";
			}
			if (sBgColor || sBgImgUrl) { // when an image or color is configured, the gradient needs to be removed, so the color can be seen behind the image
				rm.addStyle("background-image", "none");
				rm.addStyle("filter", "none");
			}
			if (sBgColor) {
				rm.addStyle("background-color", sBgColor);
			}
		}
function ( rm , sBgColor , sBgImgUrl , sCustomBGClass ) { rm . addClass ( sCustomBGClass || "sapUiGlobalBackgroundColor" ) ; if ( sBgColor && ! DataType . getType ( "sap.ui.core.CSSColor" ) . isValid ( sBgColor ) ) { Log . warning ( sBgColor + " is not a valid sap.ui.core.CSSColor type" ) ; sBgColor = "" ; } if ( sBgColor || sBgImgUrl ) { // when an image or color is configured, the gradient needs to be removed, so the color can be seen behind the image rm . addStyle ( "background-image" , "none" ) ; rm . addStyle ( "filter" , "none" ) ; } if ( sBgColor ) { rm . addStyle ( "background-color" , sBgColor ) ; } }
Adds CSS classes and styles to the given RenderManager, depending on the given configuration for background color and background image.
To be called by control renderers supporting the global themable background image within their root tag, before they call writeClasses() and writeStyles().

@param {sap.ui.core.RenderManager} rm The RenderManager
@param {sap.ui.core.CSSColor} [sBgColor] A configured custom background color for the control, if any
@param {sap.ui.core.URI} [sBgImgUrl] The configured custom background image for the control, if any

@protected
Adds CSS classes and styles to the given RenderManager depending on the given configuration for background color and background image . To be called by control renderers supporting the global themable background image within their root tag before they call writeClasses () and writeStyles () .
Adds background background