Vertex Viewer SDK
    Preparing search index...

    Function fromHexString

    • Returns a Color from a hex string, or undefined if the color string cannot be parsed. Supports hex strings in the format of "#00FF00", "0x00FF00" or "00FF00".

      Parameters

      • str: string

      Returns Color.Color | undefined