When to use ha-card-background-color and when to use card-background-color?

e.g. this comment suggests to use ha-card-background-color https://community.home-assistant.io/t/set-transparent-background-on-monster-card/120071/7

But when I change my theme’s yaml file, it only has an effect on the cards when I specify card-background-color instead, like so:

Mushroom Shadow:
    # Home Assistant override
    ha-card-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.16)
    ha-card-border-width: 0
    modes:
        light: {}
        dark: {}
    lovelace-background: center / cover no-repeat fixed url('/local/background/IMG_20210815_093614.jpg')
    card-background-color: "rgba(0,0,0,0.7)"

So… when to use which?

Also to generalize the question… is there a LIST of valid “parameters” (or headings? Don’t know what the proper term is) like modes, ha-card-border-width… so is there a comprehensive list of valid “parameter names” that I can find somewhere?