• Converts a hexadecimal color number to a string.

    Parameters

    • hex: number

      Number in hex (e.g., 0xffffff)

    Returns string

    The string color (e.g., "#ffffff").

    See

    PIXI.Color.toHex

    Deprecated

    since 7.2.0

    Memberof

    PIXI.utils

    Function

    hex2string

Generated using TypeDoc