function hex2rgb(hex, out) {
    if (out === void 0) { out = []; }
    out[0] = ((hex >> 16) & 0xFF) / 255;
    out[1] = ((hex >> 8) & 0xFF) / 255;
    out[2] = (hex & 0xFF) / 255;
    return out;
}
Converts a hexadecimal color number to an [R, G, B] array of normalized floats (numbers from 0.0 to 1.0).
@example
PIXI.utils.hex2rgb(0xffffff); // returns [1, 1, 1]
@memberof PIXI.utils
@function hex2rgb
@param {number} hex - The hexadecimal number to convert
@param  {number[]} [out=[]] - If supplied, this array will be used rather than returning a new one
@returns {number[]} An array representing the [R, G, B] of the color where all values are floats.