function _getRefinedHexColor(color){
            var rgb = new RGBColor(color || "");
            return rgb && rgb.ok ? rgb.toHex() : false;
        }
Get color code in HEX.
Returns false if given color expression is cannot be covered by RGBColor.

@require lib/rgbcolor.js
@param color
@returns {*}
@private