function getSingleColor(color) {
    if (typeof color === 'number') {
        return (0,_pixi_utils__WEBPACK_IMPORTED_MODULE_4__.hex2string)(color);
    }
    else if (typeof color === 'string') {
        if (color.indexOf('0x') === 0) {
            color = color.replace('0x', '#');
        }
    }
    return color;
}
Utility function to convert hexadecimal colors to strings, and simply return the color if it's a string.
@private
@param color
@return The color as a string.