Vertex Viewer SDK
    Preparing search index...

    Function fromCss

    • Creates a Color from a CSS color value. This function currently only supports rgb(255, 255, 255), rgba(255, 255, 255, 0.5) or "#FFFFFF". Returns undefined if the color cannot be parsed.

      Parameters

      • css: string

      Returns Color.Color | undefined