isColorValid = function (vColor) {
		if (vColor != null && vColor !== "" && !CSSColor.isValid(vColor) && !(vColor in IconColor)) {
			Log.error("\"" + vColor + "\" is not of type sap.ui.core.CSSColor nor of type sap.ui.core.IconColor.");
			return false;
		} else {
			return true;
		}
	}
Validates whether an input color is a valid color of type
<code>sap.ui.core.CSSColor</code> or <code>sap.ui.core.IconColor</code>.
undefined, null and an empty string are also valid.
In case the color is not valid, an error gets logged to the console.

@param {sap.ui.core.CSSColor|sap.ui.core.IconColor|null|undefined|string} vColor input color.
           In case a string value other than <code>sap.ui.core.CSSColor</code>
           or <code>sap.ui.core.IconColor</code> is passed, only an empty string is a valid value.
@returns {boolean} True in case the color is valid and false in case it is not valid.
@private