ComPDFKit Web SDK
    Preparing search index...

    Function setSignatureModalColors

    • Sets the color swatches of the signature dialog (used when a tab has no override of its own). 1 to 3 colors; otherwise ignored with a warning. Any CSS color syntax is accepted (#RGB, rgb(), hsl(); the defaults are rgb()).

      Parameters

      • colors: string[]

        The colors.

      Returns void

      instance.UI.setSignatureModalColors(['#000000', '#1a237e', '#b71c1c']);