• Calculate luminance. It will include alpha.

    Parameters

    • color: string
    • backgroundLum: number

    Returns number