• Converts a string to a hexadecimal color number.

    Parameters

    • string: string

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

    Returns number

    Number in hexadecimal.

    Deprecated

    since 7.2.0

    See

    PIXI.Color.toNumber

    Memberof

    PIXI.utils

    Function

    string2hex

Generated using TypeDoc