CIA Compliance Manager API Documentation - v0.8.21

    Function getContrastColor

    • Calculate contrast color (black or white) based on background

      Parameters

      • backgroundColor: string

        Hex color code

      Returns string

      Black or white based on contrast

    MMNEPVFCICPMFPCPTTAAATR