@equinor/videx-wellog
    Preparing search index...

    Function getContrastYIQ

    • Calculate font color based on background color Dark background will give white text color and vice versa

      Parameters

      • rgbString: string

      Returns "white" | "black"