CIA Compliance Manager API Documentation - v1.0.1
    Preparing search index...

    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